How can I convert a Simulink PID block into a Matlab code ?
4 ビュー (過去 30 日間)
古いコメントを表示
I need to convert a PID block system in Simulink into Matlab code and then into C. Any tips ?
0 件のコメント
回答 (1 件)
Arkadiy Turevskiy
2016 年 12 月 9 日
There is a PID object in Control System Toolbox,but this object is only for analysis, not for implementation. In other words, you can use it for say computing a bode plot of a closed-loop system, but you cannot generate code from it. If you want to generate C code, you need to use PID Controller block in Simulink and generate code from it using Simulink Coder.
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!