how to resolve the following error "Algebraic loops are not supported in generated code. Use the 'ashow' command in the Simulink Debugger to see the algebraic loops" ? R2013b

조회 수: 97 (최근 30일)
my project is to control a revolute joint on simulink via potentiometer wired to Arduino uno, and i am using a PID controller. the model runs well at simulink, but it gives me this message"Algebraic loops are not supported in generated code. Use the 'ashow' command in the Simulink Debugger to see the algebraic loops" when i deploy to hardware

답변 (1개)

Sulaymon Eshkabilov
Sulaymon Eshkabilov 2020년 9월 5일
In fact, it is a problem to use algebraic loops. Thus, you'd need to remove alebraic loops by employing transfer function approaches in your model. Here is the help documentation of mathworks:

카테고리

Help CenterFile Exchange에서 Arduino Hardware에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by