Filter löschen
Filter löschen

Embedded Coderについて

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

Akzeptierte Antwort

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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu 配布 finden Sie in Help Center und File Exchange

Produkte


Version

R2022b

Community Treasure Hunt

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

Start Hunting!