SimulinkモデルからEmbedded Coderでコード生​成する場合に使えない​ブロックはありますか​?

1 view (last 30 days)
利元 河合
利元 河合 on 18 Oct 2021
Answered: 利元 河合 on 18 Oct 2021
最終的にEmbedded CoderでCコード生成をしたいのですが、Simulinkモデルを作成する際に使うべきツールブロックを知りたい。
使ってはいけないブロックがありますか?

Accepted Answer

Toshinobu Shintai
Toshinobu Shintai on 18 Oct 2021
Edited: Toshinobu Shintai on 18 Oct 2021
ブロックのドキュメンテーションに「Cコード生成可能かどうか」が記載されています。
例えば、Saturationブロックのドキュメントには以下のような記載があります。この文言が記載されているブロックはEmbedded Coder によるコード生成が可能です。そうでないブロックは、できない、もしくは推奨されていません。
効率の良いコード生成を行うには、JMAABの「制御モデリングガイドライン」も参考になります。

More Answers (1)

利元 河合
利元 河合 on 18 Oct 2021
解決しました。
ブロック毎に記載ある旨確認しました。

Categories

Find more on 配布 in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!