与 C++ 应用程序的数据交换和映射
从 C++ 应用程序与 MATLAB 数据交互
函数
主题
创建 MATLAB 数据类型
- Create Structure Arrays from C++
Create structure arrays in C++ and pass to MATLAB® or get structure arrays defined in MATLAB. - Create Cell Arrays from C++
Create heterogeneous arrays in C++ to use as MATLAB cell arrays. - Pass Enumerations to MATLAB from C++
Pass members of a MATLAB enumeration class to MATLAB from C++. - Pass Sparse Arrays to MATLAB from C++
Pass arrays to MATLAB as MATLAB sparse arrays.
强类型化接口
- What Is Strongly-Typed Interface for C++?
The C++ MATLAB Data API interface supports strongly-typed MATLAB code. - Write MATLAB Code for Strongly-Typed Interface
Specify data type requirements in MATLAB code. - Create C++ Header File from Strongly-Typed MATLAB Function
Integrate a MATLAB Data API C++ header file from a strongly-typed MATLAB function with C++ application code that calls MATLAB. - Data Type Mappings Between C++ and Strongly Typed MATLAB Code
Refer to data type mappings between C++ and MATLAB when using strongly typed MATLAB code.
疑难解答
MATLAB Engine API for C++ Exception Classes
The MATLAB Engine API for C++ defines specific exception classes for MATLAB.