Main Content

Minimize algebraic loop


Select the diagnostic action to take if artificial algebraic loop minimization cannot be performed for an atomic subsystem or Model block because an input port has direct feedthrough.

When you set the Minimize algebraic loop occurrences parameter for an atomic subsystem or a Model block, if Simulink® detects an artificial algebraic loop, it attempts to eliminate the loop by checking for non-direct-feedthrough blocks before simulating the model. If Simulink cannot minimize the artificial algebraic loop, the simulation performs the diagnostic action specified by the Minimize algebraic loop parameter.

Category: Diagnostics


Default: warning


Simulink takes no action.


Simulink displays a warning that it cannot minimize the artificial algebraic loop.


Simulink terminates the simulation and displays an error that it cannot minimize the artificial algebraic loop.


  • If the port is involved in an artificial algebraic loop, Simulink software can remove the loop only if at least one other input port in the loop lacks direct feedthrough.

  • Simulink software cannot minimize artificial algebraic loops containing signals designated as test points (see Working with Test Points).

Command-Line Information

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

Recommended Settings

DebuggingNo impact
EfficiencyNo impact
TraceabilityNo impact
Safety precautionerror

Related Topics