Export simulink code containing a FMU to a veristand target.

6 vues (au cours des 30 derniers jours)
Hugo
Hugo le 14 Avr 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 commentaires
Hugo
Hugo le 22 Août 2025
Modifié(e) : Hugo le 22 Août 2025
I am using Matlab 2023b and Veristand 2023 Q4
Flavio Luiz Puhl Jr
Flavio Luiz Puhl Jr le 22 Août 2025
Thank you!

Connectez-vous pour commenter.

Réponse acceptée

Hugo
Hugo le 15 Avr 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 commentaire
Enrique Manuel
Enrique Manuel le 14 Août 2025
Thank you! it helped me a lot. Weird that it just makes the checkbox unselectable without telling why

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Simulink Coder dans Help Center et File Exchange

Produits


Version

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by