Using an FMU in a while iterator block
Show older comments
Hello,
we try to use an FMU in w "while iterator" block. We import the FMU as model exchange but Simulink gives the following message: 'Validation/While Iterator Subsystem1/FMU' has sample time 0. Only constant (inf) or inherited (-1) sample times are allowed in iterator subsystem 'Validation/While Iterator Subsystem1'.
I thought the communication step size might be the problem. But this parameter cannot be changed in model exchange mode. I also thought that in model exchange mode there cannot be a problem with step size because the FMU gets the step size from the solver.
Thank your very much!
Accepted Answer
More Answers (0)
Categories
Find more on FMU Importing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!