Products & Services Industries Academia Support User Community Company

Learn more about MATLAB   

pathsep - Search path separator for current platform

Syntax

c = pathsep

Description

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.

See Also

fileparts, filesep, fullfile, path

Using the MATLAB Search Path


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

  


Free MATLAB Interactive Kit

Explore how to use MATLAB to make advancements in engineering and science.


Download free kit

Trials Available

Try the latest version of MATLAB and other MathWorks products.


Get trial software
 © 1984-2010- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS