5.4Algebraic Loops

Execution of the Simulink model in this chapter, Figure 5.16, poses a dilemma often encountered when simulating dynamic systems with feedback loops. A runtime warning (default) or error appears in the MATLAB Command Window stating

Block diagram 'SubDepth_A' contains 1 algebraic loop(s). To see more details about the loops use the command
Simulink.BlockDiagram.getAlgebraicLoops('SubDepth_A') or the command line Simulink debugger by typing sldebug('SubDepth_A') in the MATLAB command window. To eliminate this message, set the Algebraic loop option in the Diagnostics page of the Configuration Parameters Dialog to "None".
Component: Simulink | Category: Block diagram warning
Found algebraic loop containing:
'SubDepth_A/Controller ...

Get Simulation of Dynamic Systems with MATLAB® and Simulink®, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.