How can I include a Simulink model in an application deployed with MATLAB Compiler?

4 次查看(过去 30 天)
I have developed a MATLAB application that calls a Simulink model. I would like to deploy the MATLAB application with the MATLAB Compiler; however, Simulink commands such as SIM are not supported by the MATLAB Compiler. How can I include the usage of Simulink in my deployed MATLAB application?

采纳的回答

MathWorks Support Team
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. 
See the Simulink Compiler product page for more information about the product: https://www.mathworks.com/products/simulink-compiler.html
There is an example illustrating this workflow posted in the documentation at the location below: https://www.mathworks.com/help/slcompiler/ug/deploy-a-simulation-with-simulink-compiler.html
For solutions with R2019b and earlier, contact our Consulting Services:https://www.mathworks.com/services/consulting.html

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Simulink Environment Customization 的更多信息

产品


版本

R2011a

Community Treasure Hunt

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

Start Hunting!

Translated by