Products & Services Solutions 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 Search Path


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

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

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