이 번역 페이지는 최신 내용을 담고 있지 않습니다. 최신 내용을 영문으로 보려면 여기를 클릭하십시오.
C++용 MATLAB Data API
MATLAB Data API를 사용하면 MATLAB 외부에서 실행되는 응용 프로그램이 MATLAB에 종속되지 않는 중립적인 인터페이스를 사용하여 MATLAB 데이터를 처리할 수 있습니다. API는 최신 C++ 의미 체계와 설계 패턴을 사용하며, 가능한 경우 항상 MATLAB 쓰기 시 복사(copy-on-write) 의미 체계를 사용하여 데이터 복사를 피합니다.
참고
MATLAB Data API는 최신 C++ 기능을 지원하며, C Matrix API와 호환되지 않습니다. MEX 파일에서 MATLAB Data API의 함수와 C Matrix API 및 C MEX API의 함수를 혼합하여 사용할 수 없습니다. 마찬가지로, MATLAB Data API 함수와 C Engine API의 함수(C에서 MATLAB 호출하기 참조) 또는 C MAT 파일 API의 함수(MAT 파일 데이터를 읽어오는 C 프로그램 작성하기 참조)를 혼합하여 사용할 수 없습니다.
클래스
도움말 항목
- C++ MATLAB Data API를 사용하여 배열 만들기
MATLAB 배열을 만듭니다.
- Copy C++ MATLAB Data Arrays
The
matlab::data::Array
class supports both copy and move semantics. - Access C++ Data Array Container Elements
The C++ MATLAB Data API
CellArray
andStructArray
types are containers for other MATLAB Data Arrays. - C++ 셀형 배열
셀형 배열을 만들려면
matlab::data::ArrayFactory
createCellArray
함수를 사용하십시오. - Operate on C++ Arrays Using Visitor Pattern
The visitor design pattern is a useful technique for performing various operations on arrays.
- MATLAB Data API Random Access Iterators
The MATLAB Data API provides random access iterators based on the C++ language specification.
- MATLAB Data API Exceptions
The MATLAB Data API defines specific exception classes for MATLAB.
- MATLAB Data API Types
The MATLAB Data API defines specific types for working with MATLAB.