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

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?

 Respuesta aceptada

MathWorks Support Team
MathWorks Support Team el 31 de Mayo de 2026 a las 0:00
Editada: MathWorks Support Team el 1 de Jun. de 2026 a las 3:28
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:
To explore an example illustrating this workflow, open the documentation by running the following command in the MATLAB Command Window:
web(fullfile(docroot,'slcompiler/ug/deploy-mass-springr-app-with-simulink-compiler.html'))

Más respuestas (0)

Categorías

Más información sobre Deployment, Integration, and Supported Hardware en Centro de ayuda y File Exchange.

Productos

Versión

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by