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
90 次查看(过去 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
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:
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Arduino Hardware 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!