parsim
Simulate dynamic system multiple times in parallel or serial
Syntax
Description
simulates a model using the inputs specified in the simOut
= parsim(in
)SimulationInput
object, in. The parsim
command
uses an array of SimulationInput
objects to run
multiple simulations.
simulates a model in parallel using the inputs specified in the simOut
= parsim(in
,'ShowSimulationManager'
,'on'
)SimulationInput
object and opens the Simulation Manager
UI. For more information, see Simulation
Manager
.
simulates a model in parallel using the inputs specified in the simOut
= parsim(in
,Name,Value
)SimulationInput
object and the options specified as the
Name,Value
pair.
The parsim
command uses the Parallel Computing Toolbox™ license to run the simulations in parallel.
parsim
runs the simulations in serial if a parallel pool
cannot be created or if Parallel Computing Toolbox is not used.
Examples
Input Arguments
Output Arguments
Extended Capabilities
Version History
Introduced in R2017a
See Also
Simulink.SimulationInput
| Simulink.Simulation.Future
| applyToModel
| setBlockParameter
| setModelParameter
| setInitialState
| ExternalInput
| setVariable
| validate
| setPreSimFcn
| setPostSimFcn
| Simulation
Manager
| cancel
| fetchNext
| fetchOutputs
| wait
Topics
- Rapid Accelerator Simulations Using Parsim
- Parallel Simulations Using Parsim: Test-Case Sweep
- Parallel Simulations Using Parsim: Parameter Sweep in Normal Mode
- Parallel Simulations Using Parsim: Parameter Sweep in Rapid Accelerator Mode
- Running Multiple Simulations
- Run Parallel Simulations for a Thermal Model of a House Using parsim
- Run Parallel Simulations