Export simulink code containing a FMU to a veristand target.

5 Ansichten (letzte 30 Tage)
Hugo
Hugo am 14 Apr. 2025
Hello,
I want to generate code using the Simulink coder in order to export a simulink model containing a FMU (v2.0 co-simulation mode with code source) to a veristand target.
Unfortunatly I have the following error message and I do not understand :
"The FMU import block with code generation target 'veristand.tlc' does not support the use of Simulink generated FMUs that are dependent to external tool."
I do not understand what does the last part of the message means: "dependent to external tool".
Thank you for your help.
  3 Kommentare
Hugo
Hugo am 22 Aug. 2025
Bearbeitet: Hugo am 22 Aug. 2025
I am using Matlab 2023b and Veristand 2023 Q4

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Hugo
Hugo am 15 Apr. 2025
I resolved my issue by setting the fmu solver to fixed time. I found that using a variable time step solver need the matlab run time installation.
  1 Kommentar
Enrique Manuel
Enrique Manuel am 14 Aug. 2025
Thank you! it helped me a lot. Weird that it just makes the checkbox unselectable without telling why

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Simulink Coder finden Sie in Help Center und File Exchange

Produkte


Version

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by