MATLAB Function Reference Previous page   Next Page
pathsep

Return path separator for current platform

Syntax

Description

c = pathsep returns the path separator character for this platform. The path separator is the character that separates directories in the string returned by the matlabpath function.

Examples

Extract each individual path from the string returned by matlabpath. Use pathsep to define the path separator:

Here is the output:

See Also

filesep, fullfile, fileparts


Previous page  pathdef pathtool Next page

© 1994-2005 The MathWorks, Inc.