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

27 次查看(过去 30 天)
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.

回答(2 个)

Abhishek Ballaney
Abhishek Ballaney 2018-3-23
Use a unit delay element in feedback

abdou lamri
abdou lamri 2021-4-20
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

类别

Help CenterFile Exchange 中查找有关 Loops and Conditional Statements 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by