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 co-simulate with an external simulation environment, you can generate standalone Functional Mockup Unit (FMU) binaries that adhere to the Functional Mockup Interface (FMI) standard.
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.
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.
Standalone FMUs
Create standalone co-simulation FMUs from Simulink models to integrate with your simulation environment. The standalone FMU contains a binary shared library compiled from your model, and optionally the C source code. For MATLAB release 2023b or newer, this functionality requires the FMU Builder support package. To create a tool-coupling FMU for co-simulating Simulink models with third-party software, use Simulink.
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:
“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.”
Bradford Thoen, senior MTS staff engineer