Import FMU in simulink FMU block simulation error

10 visualizzazioni (ultimi 30 giorni)
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.

Risposta accettata

Mark McBroom
Mark McBroom il 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.

Più risposte (0)

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by