Main Content

Minimize algebraic loop

Diagnostic action to take when the software is unable to resolve artificial algebraic loops

Model Configuration Pane: Diagnostics

Description

The Minimize artificial algebraic loop occurrences parameter specifies the diagnostic action to take 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 artificial algebraic loop occurrences parameter for an atomic subsystem or enable the Minimize algebraic loop occurrences parameter for a referenced model, 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.

For more information, see Minimize Artificial Algebraic Loop Occurrences.

Settings

warning (default) | error | none
warning

The software issues a warning.

error

The software issues an error and terminates the simulation.

none

The software does not issue a diagnostic.

Tips

  • 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.

Programmatic Use

Parameter: ArtificialAlgebraicLoopMsg
Type: string | character vector
Value: "none" | "warning" | "error"
Default: "warning"

Version History

Introduced before R2006a