Main Content

Minimize algebraic loop occurrences

Option to try to eliminate artificial algebraic loops related to referenced model

Model Configuration Pane: Model Referencing

Description

The Minimize algebraic loop occurrences configuration parameter tries to eliminate artificial algebraic loops from a model that involve the current referenced model.

Set Configuration Parameter for Referenced Model

In a model reference hierarchy, how you open the Configuration Parameters dialog box determines whether you edit the configuration parameter for the top model in the current model hierarchy or the current referenced model.

  • Top model in the current model hierarchy — In the Simulink® Toolstrip, on the Modeling tab, click Model Settings.

  • Current referenced model — In the Simulink Toolstrip, on the Modeling tab, click the Model Settings button arrow. Then, in the Referenced Model section, select Model Settings.

Alternatively, open the referenced model as a top model. Then, in the Simulink Toolstrip, on the Modeling tab, click Model Settings.

Dependencies

To enable this parameter, set Total number of instances allowed per top model to One or Multiple.

Settings

off (default) | on
on

The software tries to eliminate artificial algebraic loops from a model that involve the current referenced model.

off

The software does not try to eliminate artificial algebraic loops from a model that involve the current referenced model.

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionNo recommendation

Programmatic Use

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

Limitations

Enabling this parameter together with the Simulink Coder™ Single output/update function (Simulink Coder) parameter results in an error.

Version History

Introduced before R2006a