
powerguiを含むSimulinkモデルをCコード生成する方法
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
晃平
am 24 Jul. 2024
Beantwortet: 晃平
am 24 Jul. 2024
powerguiを含むSimulinkモデルをCコード生成しようとすると、
以下のエラーが表示され、Cコード生成できません。
[is a non-inlined S-function, which is not supported with the current configuration. Select Support non-inlined S-functions.]
powerguiに含まれるS-functionが非インラインのためだと思われます。
powerguiを含むSimulinkモデルはCコード生成できるのでしょうか。
よろしくお願いいたします。
0 Kommentare
Akzeptierte Antwort
Toshinobu Shintai
am 24 Jul. 2024
powerguiを含むSimulinkモデルは「Specialized Power Systems」と呼ばれています。
このライブラリに含まれる多くのブロックはコード生成に対応していません。
ブロックの説明ページを見た時に、下の方に

と書かれているブロックはコード生成が可能です。
しかし、現状対応していないブロックが多く存在していますので、それが一つでも含まれますと、コード生成はできないということになります。
0 Kommentare
Weitere Antworten (1)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!