Export simulink code containing a FMU to a veristand target.

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

Hi @Hugo,
Please can you tell me which Matlab & Veristand setup you have?
I am using Matlab 2023b and Veristand 2023 Q4

Sign in to comment.

 Accepted Answer

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

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

Asked:

on 14 Apr 2025

Community Treasure Hunt

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

Start Hunting!