Documentation

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.

我们为许可用户提供了部分翻译好的中文文档。您只需登录便可查阅这些文档

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?