time | Calls | line |
---|
| | 1 | function p = pathsep
|
| | 2 | %PATHSEP Path separator for this platform.
|
| | 3 | % F = PATHSEP returns the path separator character for this platform.
|
| | 4 | % The path separator is the character that separates directories in
|
| | 5 | % the MATLABPATH variable.
|
| | 6 | %
|
| | 7 | % See also PATH, FILESEP, FULLFILE.
|
| | 8 |
|
| | 9 | % Copyright 1984-2003 The MathWorks, Inc.
|
| | 10 |
|
0.009 | 1950 | 11 | persistent ps;
|
0.001 | 1950 | 12 | if isempty(ps)
|
| | 13 | if ispc
|
| | 14 | ps = ';';
|
| | 15 | else % isunix
|
| | 16 | ps = ':';
|
| | 17 | end
|
< 0.001 | 1950 | 18 | end
|
0.002 | 1950 | 19 | p = ps;
|
Other subfunctions in this file are not included in this listing.