
powerguiを含むSimulinkモデルをCコード生成する方法
    1 view (last 30 days)
  
       Show older comments
    
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 Comments
Accepted Answer
  Toshinobu Shintai
    
 on 24 Jul 2024
        powerguiを含むSimulinkモデルは「Specialized Power Systems」と呼ばれています。
このライブラリに含まれる多くのブロックはコード生成に対応していません。
ブロックの説明ページを見た時に、下の方に

と書かれているブロックはコード生成が可能です。
しかし、現状対応していないブロックが多く存在していますので、それが一つでも含まれますと、コード生成はできないということになります。
0 Comments
More Answers (1)
See Also
Categories
				Find more on シミュレーションと解析 in Help Center and File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
