
"Virtual bus without a bus object is not supported by the Test Sequence block" error message using bus object
20 次查看(过去 30 天)
显示 更早的评论
MathWorks Support Team
2020-9-1
回答: MathWorks Support Team
2020-12-7
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.

采纳的回答
MathWorks Support Team
2020-9-1
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 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Inputs 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!