目录
共享 MATLAB 会话
启动、查找、连接和终止 MATLAB
类型转换
类型定义
类
从支持面向对象编程和异步执行的 C++ 程序运行 MATLAB® 代码。
用于 C++ 的 MATLAB 引擎 API 提供 C++ 编程语言与 MATLAB 之间的接口。此 API 使 C++ 程序能够启动 MATLAB、计算带参数的 MATLAB 函数,并在 MATLAB 和 C++ 程序之间交换数据。
用于 C++ 的 MATLAB 引擎 API 支持 MATLAB 数据 API,这样,在 MATLAB 外部运行的应用程序可通过独立于 MATLAB 的接口处理 MATLAB 数据。有关 MATLAB 数据 API 的详细信息,可以参考MATLAB 数据 API。
共享 MATLAB 会话
matlan.engine.shareEngine | 将正在运行的 MATLAB 会话转换为共享会话 |
启动、查找、连接和终止 MATLAB
matlab::engine::connectMATLAB | Connect to shared MATLAB session synchronously |
matlab::engine::connectionMATLABAsync | Connect to shared MATLAB session asynchronously |
matlab::engine::findMATLAB | Find shared MATLAB sessions synchronously |
matlab::engine::findMATLABAsync | Find shared MATLAB sessions asynchronously |
matlab::engine::startMATLAB | Start MATLAB synchronously |
matlab::engine::startMATLAB | Start MATLAB asynchronously |
matlab::engine::terminateEngineClient | Free engine resources during runtime |
类型转换
matlab::engine::convertUTF8StringToUTF16String | Convert UTF-8 string to UTF-16 string |
matlab:engine::convertUTF16StringToUTF8String | Convert UTF-16 string to UTF-8 string |
类型定义
matlab::engine::StreamBuffer | Define stream buffer |
matlab:engine::String | Define UTF16 string |
类
matlab::engine::MATLABEngine | Evaluate MATLAB functions from C++ program |
matlab::engine::FutureResult | Retrieve result from asynchronous operation |
matlab::engine::ShareFutureResult | Retrieve result from asynchronous operation as shared future |
matlab::engine::WorkspaceType | Type of MATLAB workspace |