pathsep - Path separator for current platform

Syntax

c = pathsep

Description

c = pathsep returns the path separator character for this platform. The path separator is the character that separates directories in the pathdef.m file. The characters is a semicolon (;). For versions of MATLAB software prior to version 7.7 (R2008b), the character on UNIX[1] platforms was a colon (:). Use pathsep when you need to work with the path file content programmatically, as a string.

See Also

fileparts, filesep, fullfile, partialpath, path


[1] UNIX is a registered trademark of The Open Group in the United States and other countries.

  


 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS