이 번역 페이지는 최신 내용을 담고 있지 않습니다. 최신 내용을 영문으로 보려면 여기를 클릭하십시오.
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용 MATLAB Engine API 또는 MAT 파일 데이터를 읽기 위한 MATLAB C API의 함수를 혼합하여 사용할 수 없습니다.
도움말 항목
- 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++ Cell Arrays
To create a cell array, use the
matlab::data::ArrayFactory
createCellArray
function. - Operate on C++ Arrays Using Visitor Pattern
The visitor design pattern is a useful technique for performing various operations on arrays.
- 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.