GetFullPath

Full path name for partial or relative path

Download
Download

You are now following this Submission

Editor's Note: This file was selected as MATLAB Central Pick of the Week

Cite As

Jan (2026). GetFullPath (https://uk.mathworks.com/matlabcentral/fileexchange/28249-getfullpath), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.11.0

Typo fixed in InstallMex. No changes in actual function.

Download
1.10.0

Unit test function added

Download
1.9.0

Accept strings as input.

Download
1.8.0

Bugfix in M-File for UNC path.

Download
1.7.0

Unit test fixed: Consider buggy FULLFILE ov Matlab >= 2015b: FULLFILE('C:\', '\') replies 'C:\\' !

Download
1.6.0

C-Mex tested under Win7/64. Improved UNC path support in the M-file. Bugfix for M-file under Linux (thanks Daniel).

Download
1.5.0

Minor bug: '***' in the ErrorID caused bad messages in case of errors.

Download
1.4.0

Bugfix in M-version: Treat empty matrix as empty string.

Download
1.3.0

Accept cell strings as inputs.

Download
1.2.0

M-Version replied bad path for input with leading separator. GetFullPath('\') is the current drive on Windows.

Download
1.1.0

Doc updated, function not touched.

Download
1.0.0

Download