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
Featured Product
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select:.
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.