![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1664511/image.png)
Embedded Coderについて
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
MATLAB 2022bを使用しており、[power_Microgrid_IslandedOperation_DroopControl]モデルをEmbedded Coderを用いてCコードに変換したいです。
変換しようとすると、S-functionがインラインではないとエラーが出ます。インライン化して、コードを生成したいのですが、どのようにすればよろしいでしょうか。
よろしくお願いいたします。
~エラー内容~
Select Support non-inlined S-functions.
0 Kommentare
Akzeptierte Antwort
Toshinobu Shintai
am 9 Apr. 2024
コンフィギュレーションパラメーターの「コード生成」「インターフェイス」の詳細設定パラメーターを展開しまして、「インラインでない S-Function のサポート」にチェックを入れます。
この設定により、エラーは発生しなくなるかと思います。
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1664511/image.png)
Weitere Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!