
powerguiを含むSimulinkモデルをCコード生成する方法
조회 수: 3 (최근 30일)
이전 댓글 표시
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
채택된 답변
Toshinobu Shintai
2024년 7월 24일
powerguiを含むSimulinkモデルは「Specialized Power Systems」と呼ばれています。
このライブラリに含まれる多くのブロックはコード生成に対応していません。
ブロックの説明ページを見た時に、下の方に

と書かれているブロックはコード生成が可能です。
しかし、現状対応していないブロックが多く存在していますので、それが一つでも含まれますと、コード生成はできないということになります。
댓글 수: 0
추가 답변 (1개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!