Simulink.f​muexport.E​xportSimul​inkProject​ToFMU not found in command windows (Matlab R2018b)

5 次查看(过去 30 天)
Hi!!
I´m working in Matlab R2018b and I need to use the following command to create a FMU:
in final section of this link says "Introduced in R2018b"
Why can´t use?
Thanks.

回答(1 个)

Yash
Yash 2025-1-20
I tried using the command Simulink.fmuexport.ExportSimulinkProjectToFMU in MATLAB R2018b and it worked for me. Try clearing cache and path by using the commands:
rehash toolboxcache;
rehash path;
If Simulink.fmuexport.ExportSimulinkProjectToFMU still doesn't work, try exporting a Simulink model to an FMU by using these alternative methods:
  • GUI - Save > Standalone FMU in Simulink
  • Command Line Interface - exportToFMU2CS (since R2020a, to be deprecated) or exportToFMU (since R20203b, preferred command)

类别

Help CenterFile Exchange 中查找有关 Create Standalone FMU 的更多信息

产品


版本

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by