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.
To provide browser-based access to your deployed simulation, you can create a web app and host it with MATLAB Web App Server. Simulink simulations can be packaged into software components for integration with other programming languages (with MATLAB Compiler SDK). Large-scale deployment to enterprise systems is supported through MATLAB Production Server.
To generate C and C++ source code from Simulink, use Simulink Coder. To generate standalone FMUs, use Simulink FMU Builder.
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.
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.
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.
Product Resources:
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.