Main Content

Minimize algebraic loop

Diagnostic behavior when the software is unable to resolve artificial algebraic loops

Model Configuration Pane: Diagnostics


This parameter specifies the diagnostic behavior when the software is unable to resolve an artificial algebraic loop because an input port of an atomic subsystem or model reference has direct feedthrough.

When you select the Minimize algebraic loop occurrences parameter for an atomic subsystem or a Model block, the software attempts to eliminate algebraic loops by checking whether the atomic subsystems or referenced models contain blocks that do not have direct feedthrough before simulating the model. A block has direct feedthrough when one or more of the input ports for the block has direct feedthrough.


warning (default) | error | none

The software issues a warning.


The software issues an error and terminates the simulation.


The software does not issue a diagnostic.


  • When a port on an atomic subsystem or model reference is part of an artificial algebraic loop, the software can eliminate the algebraic loop only when at least one other input port in the loop does not have direct feedthrough.

  • The software cannot eliminate artificial algebraic loops that contains signals designated as test points. For more information, see Working with Test Points.

Recommended Settings

DebuggingNo impact
EfficiencyNo impact
TraceabilityNo impact
Safety precautionerror

Programmatic Use

Parameter: ArtificialAlgebraicLoopMsg
Value: 'none' | 'warning' | 'error'
Default: 'warning'

Version History

Introduced before R2006a