
"Virtual bus without a bus object is not supported by the Test Sequence block" error message using bus object
19 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
MathWorks Support Team
am 1 Sep. 2020
Beantwortet: MathWorks Support Team
am 7 Dez. 2020
I am encountering an issue when trying to use a bus object I created with "Simulink.Bus.createObject". The bus signal goes into a subsystem that I want to create a Test Harness for, which accepts a "Test Sequence" as an input.
I got the following error message:
The input 1 of the component has virtual bus without a bus object. Virtual bus without a bus object is not supported by the Test Sequence block.
Please refer to the following screenshot below.

Akzeptierte Antwort
MathWorks Support Team
am 1 Sep. 2020
The issue is resolved by specifying the "Output data type" field of the "Bus Creator" block to be the created bus object (originally set as Inherit auto). A simple reproduction model is attached for convenience.

0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Inputs finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!