How can I create a deployable standalone executable from a MATLAB application that calls a Simulink model?

15 次查看(过去 30 天)
I have a MATLAB application, with a GUI, that calls a Simulink model. I would like to package this application as an executable and deploy it on machines which do not have MATLAB installed. Is there an example? Which products do I need?

采纳的回答

MathWorks Support Team
MathWorks Support Team 2025-1-24,0:00
编辑:MathWorks Support Team 2025-1-31,13:47
Starting in R2020a, Simulink Compiler enables you to share Simulink simulations as standalone executables. You can build the executables by packaging the compiled Simulink model and the MATLAB code used to set up, run, and analyze a simulation. Standalone executables can be complete simulation apps that use MATLAB graphics and UIs designed with MATLAB App Designer. 
Simulink Compiler requires MATLAB, Simulink, and MATLAB Compiler.
For more information about the product, please visit the Simulink Compiler product page:
https://www.mathworks.com/products/simulink-compiler.html
To explore an example illustrating this workflow, you can access the documentation by executing the following command in the MATLAB R2020a command window:
>> web(fullfile(docroot, 'slcompiler/ug/deploy-app-designer-app-with-simulinkcompiler.html'))
For additional information regarding the current release, please refer to the following link:

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Deployment, Integration, and Supported Hardware 的更多信息

产品


版本

尚未输入任何版本。

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by