我已经使用 MATLAB 制作了一个在后端运行的算法。 我还创建了一个 c++ GUI 程序来与我的硬件交互。 我想集成这两个代码,以便 MATLAB 代码在后端运行。我该如何做到这一点,以便我的单个应用程序可以在没有安装 MATLAB 的设备上执行?
最佳答案
您可以使用该 Matlab 编译器。
When used along with MATLAB Compiler SDK™, you can package MATLAB programs into software components for integration with other programming languages. Large-scale deployment to enterprise systems is supported through MATLAB Production Server™.
All applications created with MATLAB Compiler use the MATLAB Runtime, which enables royalty-free deployment to users who do not need MATLAB. You can package the runtime with the application, or have your users download it during installation.
更多信息可用here .
Matlab Compiler 不包含在 Matlab 的基础版本中。您将需要额外的许可才能使用它。
关于c++ - 在没有安装 MATLAB 的情况下,C++ 到 MATLAB 代码接口(interface)是否可以执行?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48925263/