Main Content

Deploy Standalone Applications

Create and deploy standalone applications

Create and deploy standalone applications with Simulink® Compiler™ to run simulations on target machines that do not have MATLAB® and Simulink installed.

You can create and deploy standalone applications written in MATLAB code or built in MATLAB App Designer. To run a standalone application, install MATLAB Runtime. For more information, see Download and Install MATLAB Runtime.

Functions

simulink.compiler.configureForDeploymentConfigure Simulink.SimulationInput object for deployment with Simulink Compiler (Since R2020a)
simulink.compiler.setExternalInputsFcnSet callback to specify data to each external root inport port block at the start of each simulation step (Since R2020b)
simulink.compiler.setExternalOutputsFcnSet callback to read external root outport block data after each simulation step (Since R2020b)
simulink.compiler.setPostStepFcnRegister a callback to run after each simulation step (Since R2020b)
simulink.compiler.genappGenerate MATLAB App to simulate model and deploy application (Since R2020b)
simulink.compiler.getTunableVariablesFind names of all tunable variables (Since R2021a)
simulink.compiler.getSimulationOutputFetch the partial simulation output during simulation run time (Since R2022a)
simulink.compiler.modifyParametersTune block parameters at runtime via workspace variables (Since R2021b)
simulink.compiler.stopSimulationStop a long running simulation (Since R2020b)
simulink.compiler.loadEnumTypesConfigure model with enum types for deployment (Since R2020a)
simRun and script programmatic simulations of Simulink models
Simulink.SimulationInputCreate Simulink.SimulationInput objects to make changes to model for multiple or individual simulations
mccCompile MATLAB functions for deployment
deploytoolOpen a list of application deployment apps

Topics

Related Information

Featured Examples