MPC Controller の時間計測について
6 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
SimulinksでMPC Controllerを使用しているのですが、MPC Controller内部の計算時間を計測する方法はありますか?
0 Kommentare
Antworten (1)
Toshinobu Shintai
am 21 Mai 2020
PC上のMATLAB, Simulinkでモデルを実行した際の計算時間を測りたいということでしょうか。
その場合、以下のリンク先にあるtic、tocというコマンドを駆使することで測定できますが、0.1秒より短い計算時間を測定する場合には不正確です。その場合は推奨されません。
OSなし、またはリアルタイムOSを持つマイコンに実装した際の計算時間を測りたい場合は、Embedded CoderでモデルをPIL実行し、以下のリンク先に説明されている実行時間の可視化によって知ることができます。
Siehe auch
Kategorien
Mehr zu Controller Creation finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!