Export Simulink Model to Standalone FMU is not possible.

12 views (last 30 days)
Export Simulink Model to Standalone FMU is not possible.
=> If I open a Simulink model and go to "Simulation tab -> Save -> In Export Model To section" there is no "Standalone FMU...." option (see Screenshot).
From my Point of view I have installed all the necessary toolboxes (see also attached screenshot)
- MATLAB 2022b or greater.
- Simulink
- Simulink Coder Toolbox
- Simulink Compiler Toolbox

Answers (1)

Adarsh
Adarsh on 3 Jun 2025
I understand that you are trying to use the “Export Model to Standalone FMU” feature in the save dropdown of simulation tab and facing the issue where the “Standalone FMU” export option is not visible.
This issue can be caused by the following reasons:
  • The toolboxes required for the task are missing or not installed.
  • Missing of “Simulink Compiler” licence which is required to export a Simulink model to a “Standalone FMU”.
To find whether an active “Simulink Compiler” licence is present, the following command can be used:
license('test', 'Simulink_Compiler')
If both the licence and toolboxes required are present then you can try reinstalling the toolboxes and check whether the problem is with the installation of toolbox.
Alternatively, a Simulink model can be exported into a “Standalone FMU” programmatically by following the process mentioned in the documentation link below:
I hope this helps!

Categories

Find more on Troubleshooting in Simulink Real-Time in Help Center and File Exchange

Tags

Products


Release

R2022b

Community Treasure Hunt

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

Start Hunting!