Simulate dynamic system multiple times in parallel or serial
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.
applyToModel
| cancel
| ExternalInput
| fetchNext
| fetchOutputs
| setBlockParameter
| setInitialState
| setModelParameter
| setPostSimFcn
| setPreSimFcn
| setVariable
| Simulation
Manager
| Simulink.Simulation.Future
| Simulink.SimulationInput
| validate
| wait