본문으로 바로가기

load: 파일의 변수를 작업 공간(Workspace)으로 로드


구문

load(filename)
load(filename,variables)
load(filename,'-ascii')
load(filename,'-mat')
load(filename,'-mat',variables)
S = load(___)
load filename




importdata: 파일에서 데이터 로드 (ASCII 뿐만 아니라 binary도)

구문

A = importdata(filename)
A = importdata('-pastespecial')
A = importdata(___,delimiterIn)
A = importdata(___,delimiterIn,headerlinesIn)
[A,delimiterOut,headerlinesOut] = importdata(___)




textscan: 텍스트 파일이나 문자열에서 형식 지정된 데이터 읽어 들어기

구문

C = textscan(fileID,formatSpec)
C = textscan(fileID,formatSpec,N)
C = textscan(chr,formatSpec)
C = textscan(chr,formatSpec,N)
C = textscan(___,Name,Value)
[C,position] = textscan(___)