Export Simulink Model to Standalone FMU is not possible.

12 Ansichten (letzte 30 Tage)
Johannes
Johannes am 28 Mai 2025
Beantwortet: Adarsh am 3 Jun. 2025
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

Antworten (1)

Adarsh
Adarsh am 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!

Kategorien

Mehr zu Troubleshooting in Simulink Real-Time finden Sie in Help Center und File Exchange

Tags

Produkte


Version

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by