Embedded Coderについて

33 views (last 30 days)
晃平
晃平 on 9 Apr 2024 at 7:08
Commented: 晃平 on 12 Apr 2024 at 0:49
MATLAB 2022bを使用しており、[power_Microgrid_IslandedOperation_DroopControl]モデルをEmbedded Coderを用いてCコードに変換したいです。
変換しようとすると、S-functionがインラインではないとエラーが出ます。インライン化して、コードを生成したいのですが、どのようにすればよろしいでしょうか。
よろしくお願いいたします。
~エラー内容~
Select Support non-inlined S-functions.

Accepted Answer

Toshinobu Shintai
Toshinobu Shintai on 9 Apr 2024 at 8:24
コンフィギュレーションパラメーターの「コード生成」「インターフェイス」の詳細設定パラメーターを展開しまして、「インラインでない S-Function のサポート」にチェックを入れます。
この設定により、エラーは発生しなくなるかと思います。
  1 Comment
晃平
晃平 on 12 Apr 2024 at 0:49
ありがとうございました。

Sign in to comment.

More Answers (0)

Categories

Find more on 配布 in Help Center and File Exchange

Products


Release

R2022b

Community Treasure Hunt

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

Start Hunting!