Simulink®
Compiler™ lets you share simulations as standalone applications. Simulink
Compiler extends the capabilities of MATLAB®
Compiler to allow Simulink
sim
command and associated Simulink functions in the deployed script or application. For more information about
MATLAB
Compiler, see MATLAB
Compiler documentation.
The application users who use these deployed applications are not expected to interact with the Simulink model directly. The Simulink user provides the application user with a tool that allows them to explore task-specific scenarios without looking at the underlying model that represents the dynamic system. The application users can change model parameters and simulation inputs, and record and analyze simulation outputs.
To develop an application, the Simulink user:
Prepares the Simulink model to be compatible with Simulink Compiler, such as checking that the model simulates correctly in rapid accelerator mode.
Creates an application that simulate the model using the sim command, in a script or an App designer app.
Configures the script or the app for deployment by using
simulink.compiler.configureForDeployment
function. The
simulink.compiler.configureForDeployment
function adapts the model
to run in Rapid Accelerator mode.
Creates a standalone application using the mcc
command or the
deploytool
app.
Shares the standalone application.
To use the application, the application user:
Installs MATLAB Runtime environment for the deployed application.
Uses the deployed application.
Simulink.SimulationInput
| configureForDeployment
| deploytool
| mcc
| sim