Import FMU in simulink FMU block simulation error
10 ビュー (過去 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.
0 件のコメント
採用された回答
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 件のコメント
その他の回答 (0 件)
参考
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!