Main Content

Use local solver when referencing model

Description

Improve simulation performance in model references.

Category: Model Referencing

Settings

Default: Off

On

Continuous states in the model are solved independently from the top by the solver specified in the referenced Configuration Parameters.

Off

Continuous states in the model are solved by the top solver.

Tips

  • Normally, Simulink® uses one solver for the entire model and the solver specified by a referenced model's configuration set is ignored. When this parameter is enabled, the model's continuous states will be solved separately from the top model's solver. The local solver used follows the solver settings in the configuration set of the referenced model.

  • When this parameter is on, the software tries to speed up simulation by using inexpensive solvers on slow states of the current referenced model.

Command-Line Information

Parameter:UseModelRefSolver
Value: 'on' | 'off'
Default: 'off'

Recommended Settings

ApplicationSetting
DebuggingOff
TraceabilityNo impact
EfficiencyNo recommendation
Safety precaution

No impact

See Also

|

Related Topics