MATLAB Function Reference    
filesep

Return the directory separator for this platform

Syntax

Description

f = filesep returns the platform-specific file separator character. The file separator is the character that separates individual directory names in a path string.

Examples

On the PC

On a UNIX system

See Also

fullfile, fileparts


  fileparts fill