Parallel Simulations
In Simulink®, you can iteratively change various parameter values in your model, starting from a baseline setting, and perform a series of simulations with these values. You can provide these changes to your model through a SimulationInput object and run multiple simulations with them. Some common use cases for this approach include model testing, design of experiments, Monte Carlo runs, and sensitivity and robustness analysis.
In addition, with a Parallel Computing Toolbox™ license, you can use the parsim command to run multiple simulations in parallel. With the parsim command, the amount of custom code you need to run multiple simulations in parallel is significantly reduced compared to using the sim command within a parfor loop.
Recorded: 8 Mar 2017