Embedded Coderについて

MATLAB 2022bを使用しており、[power_Microgrid_IslandedOperation_DroopControl]モデルをEmbedded Coderを用いてCコードに変換したいです。
変換しようとすると、S-functionがインラインではないとエラーが出ます。インライン化して、コードを生成したいのですが、どのようにすればよろしいでしょうか。
よろしくお願いいたします。
~エラー内容~
Select Support non-inlined S-functions.

 Risposta accettata

Toshinobu Shintai
Toshinobu Shintai il 9 Apr 2024

1 voto

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

1 Commento

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

Accedi per commentare.

Più risposte (0)

Categorie

Prodotti

Release

R2022b

Community Treasure Hunt

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

Start Hunting!