I can't run my Simulink model due to "loading-forever" problem
2 次查看(过去 30 天)
显示 更早的评论

0 个评论
回答(1 个)
Maneet Kaur Bagga
2025-4-9
Hi,
As per my understanding, your Simulink model is hanging indefinetely after clicking "Monitor and Tune". Please refer to the following as a possible workaround for your issue.
Your model may contain an algebraic loop because the PID controller output is directly fed back into a summation. Simulink cannot resolve loops without delays. Therefore. you can insert a "Unit Delay" or "Transfer Fcn" block between the summation and the PID input feedback path.
The "scope" block is not supported during "Monitor and Tune". Also, "Monitor and Tune" uses "Serial over USB" to communicate therefore, go to the following path to check the settings.
Model Settings > Hardware Implementation > Target Hardware Resources > Host Communication
Please refer to the following MathWorks documentation for better understanding:
Hope this helps!
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Classical Control Design 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!