Parallel Computing in Simulink
Accelerate Simulink® simulations with parallel computing
For workflows that involve multiple parallel simulations and logging of large amounts of data, you can use parallel computing to accelerate Simulink simulations. This approach is useful in scenarios like model testing, experiment design, Monte Carlo analysis, and model optimization.
Tools
| Multiple Simulations | Run multiple simulations from the Simulink Editor (Since R2021b) |
| Simulation Manager | Monitor multiple simulations and visualize the simulation data |
Topics
Run Simulations
- Running Multiple Simulations in Simulink (Simulink)
Run multiple simulations from theparsimandbatchsimcommands, and the Multiple Simulations panel in Simulink Editor. - Run Parallel Simulations (Simulink)
Programmatically run model simulations in parallel. - Run Parallel Simulations for a Thermal Model of a House Using parsim (Simulink)
Use aSimulink.SimulationInputobject to run multiple parallel simulations command line workflow. - Configure and Run Simulations with Multiple Simulations Panel (Simulink)
Learn about the Multiple Simulations panel in the Simulink Editor. - Comparison Between Multiple Simulation Workflows (Simulink)
Understand the similarities and differences betweenparsim,parsimwithRunInBackground, andbatchsim. - Multiple Simulations Workflow Tips (Simulink)
The goal of this example is to provide helpful tips for running multiple simulations using parallel simulation tools. - Analyze Results Using Simulation Manager (Simulink)
Use the Simulation Manager to visualize simulation data, analyze simulation results and trends. - Reduce Update Time for Referenced Models by Using Parallel Builds (Simulink)
Reduce diagram update time for large model reference hierarchies by using parallel builds.
Model Electrical Systems
- Tolerance Study Using Monte Carlo Simulations in Resonant LLC DC-DC Converter (Simscape Electrical)
This example shows how to use Simscape™ Electrical™ to perform a Monte Carlo analysis to optimize the design of an LLC resonant DC-DC converter when some of its components have tolerances. - Characterize Condenser Microphone Model (Simscape Electrical)
This example shows how to characterize a condenser microphone model using the Variable Gap Capacitor (Simscape Electrical) block. (Since R2024b)
Generate Code
- Reduce Build Time for Referenced Models by Using Parallel Builds (Simulink Coder)
Apply parallel builds to reduce build time for large model reference hierarchies.
Related Information
- Functions with Automatic Parallel
Support (Simulink)
- Functions with Automatic Parallel
Support (Simscape Electrical)





