parsim
以并行或串行方式进行多次动态系统仿真
说明
使用 simOut
= parsim(in
)SimulationInput
对象 in 中指定的输入对模型进行仿真。parsim
函数使用 SimulationInput
对象数组作为输入来运行多个仿真。
使用在 simOut
= parsim(in
,Name=Value
)SimulationInput
对象中指定的输入和使用一个或多个名称-值参量指定的选项以并行方式对模型进行仿真。
使用 futureOut
= parsim(designStudy
)simulink.multisim.DesignStudy
对象仿真大量仿真。
parsim
函数需要 Parallel Computing Toolbox™ 许可证才能并行运行仿真。如果无法创建并行池或未使用 Parallel Computing Toolbox,则 parsim
函数会以串行方式运行仿真。
示例
输入参数
名称-值参数
输出参量
扩展功能
版本历史记录
在 R2017a 中推出
另请参阅
对象
工具
函数
applyToModel
|setBlockParameter
|setModelParameter
|setInitialState
|setExternalInput
|setVariable
|validate
|setPreSimFcn
|setPostSimFcn
|cancel
|fetchNext
|fetchOutputs
|wait
主题
- 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
- 运行并行仿真