Main Content

filesep

현재 플랫폼의 파일 구분 기호(Separator)

설명

예제

f = filesep는 플랫폼별 파일 구분 기호 문자를 반환합니다. 파일 구분 기호는 경로에서 폴더와 파일 이름을 각각으로 구분하는 문자입니다.

예제

모두 축소

Microsoft® Windows® 플랫폼에서 iofun 폴더의 경로를 만듭니다.

iofun_dir = ['toolbox' filesep 'matlab' filesep 'iofun']
iofun_dir =

    'toolbox\matlab\iofun'

Linux® 플랫폼에서 iofun 폴더의 경로를 만듭니다.

iofun_dir = ['toolbox' filesep 'matlab' filesep 'iofun']
iofun_dir = 
'toolbox/matlab/iofun'

확장 기능

버전 내역

R2006a 이전에 개발됨

참고 항목

| |