Export simulink code containing a FMU to a veristand target.

5 views (last 30 days)
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 Comments
Hugo
Hugo on 22 Aug 2025
Edited: Hugo on 22 Aug 2025
I am using Matlab 2023b and Veristand 2023 Q4

Sign in to comment.

Accepted Answer

Hugo
Hugo on 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 Comment
Enrique Manuel
Enrique Manuel on 14 Aug 2025
Thank you! it helped me a lot. Weird that it just makes the checkbox unselectable without telling why

Sign in to comment.

More Answers (0)

Categories

Find more on Simulink Coder in Help Center and File Exchange

Products


Release

R2024b

Community Treasure Hunt

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

Start Hunting!