Embedded Coderについて

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

1 vote

コンフィギュレーションパラメーターの「コード生成」「インターフェイス」の詳細設定パラメーターを展開しまして、「インラインでない S-Function のサポート」にチェックを入れます。
この設定により、エラーは発生しなくなるかと思います。

1 Comment

晃平
晃平 on 12 Apr 2024
ありがとうございました。

Sign in to comment.

More Answers (0)

Categories

Products

Release

R2022b

Asked:

on 9 Apr 2024

Commented:

on 12 Apr 2024

Community Treasure Hunt

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

Start Hunting!