Import FMU in simulink FMU block simulation error

10 visualizaciones (últimos 30 días)
Shreya
Shreya el 23 de Abr. de 2024
Respondida: Mark McBroom el 27 de Abr. de 2024
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.

Respuesta aceptada

Mark McBroom
Mark McBroom el 27 de Abr. de 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.

Más respuestas (0)

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by