This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.


Search path separator for current platform


c = pathsep


c = pathsep returns the search path separator character for this platform. The search path separator is the character that separates path names in the pathdef.m file, as returned by the path function. The character is a semicolon (;). For versions of MATLAB® software earlier than version 7.7 (R2008b), the character on UNIX®[1] platforms was a colon (:). Use pathsep to work programmatically with the content of the search path file.

Introduced before R2006a

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

Was this topic helpful?