Main Content

Check algebraic loops

Check ID: com.mathworks.HDL.ModelChecker.runAlgebraicLoopChecks

Check ID: com.mathworks.HDL.ModelAdvisor.runAlgebraicLoopChecks

Check model for algebraic loops.

Description

HDL Coder™ does not support code generation for models in which algebraic loop conditions exist. This check examines the model and fails the check if it detects an algebraic loop.

Available with Simulink®, HDL Coder, Fixed-Point Designer™, and MATLAB® Coder™.

Results and Recommended Actions

To fix this warning, eliminate algebraic loops from your model and then run this check again.

Capabilities and Limitations

  • Runs on library models.

  • Analyzes content in all masked subsystems.

  • Analyzes only the functions that the Simulink model directly references.

See Also

Algebraic Loop Concepts