Main Content

이 번역 페이지는 최신 내용을 담고 있지 않습니다. 최신 내용을 영문으로 보려면 여기를 클릭하십시오.

MAT 파일 데이터를 읽어오는 C 프로그램 작성하기

mxArray를 사용하여 C 프로그램에서 MATLAB® 데이터 읽기와 쓰기

MATLAB에서 전체 응용 프로그램을 프로그래밍하거나 데이터를 다른 MATLAB 사용자와 공유할 경우 다음 MATLAB 절차를 사용하십시오.

반면, 데이터와 상호 작용하기 위해 사용자 지정 프로그램을 작성해야 할 경우도 있습니다. 예를 들면 다음과 같습니다.

  • 데이터가 사용자 지정 형식을 갖는 경우.

  • MATLAB을 실행하지 않는 사용자를 위한 응용 프로그램을 만들고, 이 사용자들에게 MATLAB 데이터를 제공하려는 경우.

  • 외부 응용 프로그램에서 데이터를 읽어 오려고 하지만 소스 코드에 액세스할 수 없는 경우.

C MAT 파일 API

matOpenMAT 파일 열기
matCloseMAT 파일 닫기
MATFileMAT 파일 유형
matGetVariableMAT 파일의 배열
matGetVariableInfoArray header information only
matGetNextVariableNext array in MAT-file
matGetNextVariableInfoArray header information only
matPutVariableArray to MAT-file
matPutVariableAsGlobalArray to MAT-file as originating from global workspace
matDeleteVariableDelete array from MAT-file
matGetDirList of variables in MAT-file
matGetFpFile pointer to MAT-file
mxIsFromGlobalWSDetermine whether mxArray was copied from MATLAB global workspace
matGetErrnoError codes for MAT-file API

도움말 항목

관련 정보