Export simulink code containing a FMU to a veristand target.

5 visualizaciones (últimos 30 días)
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 comentarios
Hugo
Hugo el 22 de Ag. de 2025
Editada: Hugo el 22 de Ag. de 2025
I am using Matlab 2023b and Veristand 2023 Q4

Iniciar sesión para comentar.

Respuesta aceptada

Hugo
Hugo el 15 de Abr. de 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 comentario
Enrique Manuel
Enrique Manuel el 14 de Ag. de 2025
Thank you! it helped me a lot. Weird that it just makes the checkbox unselectable without telling why

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Simulink Coder en Help Center y File Exchange.

Productos


Versión

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by