filesep
Returns the path separator, dependent on the system.
Syntax
R = filesep
R = filesep('all')
Inputs
- 'all'
- Returns all valid file separators on the system.
Outputs
- R
- Type: string
Examples
Default path separator on Windows:
R = filesep
R = \
All path separators on Windows:
R = filesep('all')
R = /\