How can I fix that's Found algebraic loop containing'

31 views (last 30 days)
I cant fix this Warning: Block diagram 'four_Coil_maglev' contains 1 algebraic loop(s). To see more details about the loops use the command href="matlab:Simulink.BlockDiagram.getAlgebraicLoops(bdroot);">Simulink.BlockDiagram.getAlgebraicLoops('four_Coil_mag ev') </a or the command line Simulink debugger by typing href="matlab:sldebug(bdroot);">sldebug('four_Coil_maglev') </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".
I try to use disp but I cant.

Answers (2)

Abhishek Ballaney
Abhishek Ballaney on 23 Mar 2018
Use a unit delay element in feedback

abdou lamri
abdou lamri on 20 Apr 2021
Algebraic loops are not supported in generated code. Use the 'ashow' command in the Simulink Debugger to see the algebraic loops
how i can fix this problm

Categories

Find more on Loops and Conditional Statements in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!