Simulink.fmuexport.ExportSimulinkProjectToFMU not found in command windows (Matlab R2018b)
Show older comments
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.
Answers (1)
Yash
on 20 Jan 2025
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)
Categories
Find more on Export Simulink Model as Standalone FMU 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!