Documentation

This is machine translation

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

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

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.

Introduced before R2006a


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

Was this topic helpful?