Clear Filters
Clear Filters

powerguiを含​むSimulinkモ​デルをCコード生成す​る方法

5 views (last 30 days)
晃平
晃平 on 24 Jul 2024
Answered: 晃平 on 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コード生成できるのでしょうか。
よろしくお願いいたします。

Accepted Answer

Toshinobu Shintai
Toshinobu Shintai on 24 Jul 2024
powerguiを含むSimulinkモデルは「Specialized Power Systems」と呼ばれています。
このライブラリに含まれる多くのブロックはコード生成に対応していません。
ブロックの説明ページを見た時に、下の方に
と書かれているブロックはコード生成が可能です。
しかし、現状対応していないブロックが多く存在していますので、それが一つでも含まれますと、コード生成はできないということになります。

More Answers (1)

晃平
晃平 on 24 Jul 2024
早々のご回答ありがとうございます。
理解いたしました。

Products


Release

R2022b

Community Treasure Hunt

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

Start Hunting!