Import FMU in simulink FMU block simulation error

16 次查看(过去 30 天)
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.

采纳的回答

Mark McBroom
Mark McBroom 2024-4-27
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 个)

产品

Community Treasure Hunt

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

Start Hunting!

Translated by