FMUをクロスコンパイルするとエラーが発生するのはなぜですか?
显示 更早的评论
FMUをクロスコンパイルするために、次のクロスコンパイルページを試しました。
https://jp.mathworks.com/help/releases/R2022b/slcompiler/gs/export-model-to-standalone-fmu-with-source-code.html
しかし、実際に単純なGainのみのモデルでこれを行ったところ、fmi2Functions.hが欠落しているなどのコンパイルエラーが発生しました。
(エラーメッセージ)
simpleGain_fmu.c:42:10:fatal error: fmi2Functions.h: そのようなファイルまたはディレクトリはありません
42 | #incluse "fmi2Functions.h"
| ^~~~~~~~~~
compilation terminated.
このエラーを解決するにはどうすればいいですか?
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Export Simulink Model as Standalone FMU 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!