MPCブロックのコード生成について

適応MPCブロックを用いて構築した制御系を動力学シミュレータで検証したいのですが、どのような手順で進めるべきでしょうか。
Simulinkのコード生成を使ってみたところ、生成されたC+のコードが複雑かつ量が多く手が付けられない状況です。
なにかサンプルや手順があればご教授願います。

Answers (1)

Toshinobu Shintai
Toshinobu Shintai on 17 Oct 2024

0 votes

以下のデモモデルにて、設計、シミュレーション、コード生成までの例を紹介しています。
こちらのデモも参考になるかもしれません。

Categories

Find more on Model Predictive Control Toolbox in Help Center and File Exchange

Asked:

on 17 Oct 2024

Answered:

on 17 Oct 2024

Community Treasure Hunt

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

Start Hunting!