Simulink Compiler

Screenshot of using App Designer to design a graphic UI of a Simulink simulation.

Standalone Simulation Applications

Share Simulink simulations as standalone applications with collaborators, suppliers, and clients. Create your simulations using a wide variety of Simulink add-on products, including Simscape, Stateflow, and DSP System Toolbox. Standalone applications can be complete apps that use MATLAB graphics and UIs designed with MATLAB App Designer or they can be command-line executables.

Workflow diagram showing an example using Simulink Compiler to package a .mlapp file as a web app.

Browser-Based Web Apps

Create simulation applications in MATLAB App Designer and package them as web apps. With MATLAB Web App Server, each web app can be accessed via a unique URL directly from a browser without installing additional software. In addition, there is no need to write platform-specific code since the same web app can be accessed from any platform with a browser.

A workflow diagram showing how Simulink Compiler is used in integrating simulation with a production IT system.

Enterprise Applications

Integrate simulations into a wide variety of production enterprise applications accessed by large audiences. With MATLAB Compiler SDK you can package your Simulink simulation into a language-specific software component such as a C/C++ shared library, Java JAR, Python package, or .NET DLL. Use MATLAB Production Server to host simulations that can be invoked from enterprise applications using C/C++, .NET, Java, Python, or RESTful interfaces.

Digital Twin Workflows

A digital twin can be an up-to-date parameterized model of an actual physical asset in operation. Using Simulink Compiler, you can tune deployed digital twin models to keep them up to date. You can also simulate digital twin models on enterprise OT or IT systems for prediction, optimizing operations, anomaly detection, fault isolation, and more.

“Using Simulink Compiler and teaming with MathWorks to create a deployable application was a game changer for us. We’re now able to distribute the tool easily to mechanical engineers and customers throughout the world.”

Simulink Compiler FAQs

Simulink Compiler enables you to share Simulink simulations as standalone executables, and web apps that can run without requiring MATLAB or Simulink to be installed.

With Simulink Compiler, you can deploy Simulink simulations as standalone desktop applications and browser-based web apps. Standalone applications can be command-line executables or complete simulation apps that include MATLAB graphics and UIs designed with MATLAB App Designer. You can also package Simulink simulations into software components for integration with other programming languages using MATLAB Compiler SDK, and support large-scale deployment to enterprise systems through MATLAB Production Server.

Yes. Applications deployed with Simulink Compiler can be used by end users without requiring them to interact directly with the Simulink model. The deployed application provides a task-specific interface for changing model parameters and simulation inputs, and for recording and analyzing simulation outputs.

You can create simulation applications in MATLAB App Designer and package them as web apps. These web apps can then be hosted with MATLAB Web App Server, which gives users browser-based access through a unique URL without additional software installation.

Simulink Compiler requires MATLAB, Simulink, and MATLAB Compiler as prerequisites to function.

Yes. Simulink Compiler works with MATLAB Compiler SDK to package Simulink simulations into software components for integration with other programming languages such as Python, Java, .NET, C, and C++.

Yes. Simulink Compiler supports large-scale deployment of Simulink simulations to enterprise systems through MATLAB Production Server.

You can create simulations using a wide variety of Simulink add-on products including Simscape, Stateflow, and DSP System Toolbox when deploying with Simulink Compiler. In general, supported models use blocks that support code generation and can run in Rapid Accelerator mode. Prebuilt apps, UIs, and blocks that do not support code generation are not supported.