time | Calls | line |
---|
| | 1 | function f = filesep
|
| | 2 | %FILESEP Directory separator for this platform.
|
| | 3 | % F = FILESEP returns the file separator character for this platform.
|
| | 4 | % The file separator is the character that separates
|
| | 5 | % directory names in filenames.
|
| | 6 | %
|
| | 7 | % See also PATHSEP, FULLFILE.
|
| | 8 |
|
| | 9 | % Copyright 1984-2003 The MathWorks, Inc.
|
| | 10 |
|
< 0.001 | 70 | 11 | persistent fs;
|
< 0.001 | 70 | 12 | if isempty(fs)
|
| | 13 | if ispc
|
| | 14 | fs = '\';
|
| | 15 | else % isunix
|
| | 16 | fs = '/';
|
| | 17 | end
|
< 0.001 | 70 | 18 | end
|
< 0.001 | 70 | 19 | f = fs;
|
Other subfunctions in this file are not included in this listing.