MATLAB Answers

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

47 views (last 30 days)
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?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 28 Apr 2020
Edited: MathWorks Support Team on 28 Apr 2020
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.
See the Simulink Compiler product page for more information about the product:
There is an example illustrating this workflow posted in the documentation at the location below:
  1 Comment
KA The Times
KA The Times on 2 Jul 2020
Hello, thanks for your reply.
As of now I don't have MATLAB R2020a, hence don not have simulink compiler. How then can I create a deployable standalone executable from a MATLAB application that calls a Simulink model as well?
Thanks.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!