Import FMU in simulink FMU block simulation error
6 views (last 30 days)
Show older comments
I imported FMU in simulink FMU block , but getting this error while simulating it
Block 'untitled/FMU' is configured to require a nonvirtual bus or non-bus signal, however the type of the input signal to the block is virtual. Please see Simulink documentation for further information on composite (i.e. bus) signals and their proper usage. Alternately, if the input bus signal consists only of scalar elements, 1-D elements, or either row or column vectors; and all elements have the same data type, signal type, and sampling mode, consider inserting a Bus to Vector conversion block in the signal path.
0 Comments
Accepted Answer
Mark McBroom
on 27 Apr 2024
Is one of the inputs to the FMU block a bus? If so, as the error message indicates, you need to define a Simulink Bus object and then set the data type for the input signal to be this Simulink.Bus and set to be nonVirtual.
0 Comments
More Answers (0)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!