Bus selector's non-virtual signal&virtual signal problem
Show older comments
Hi everyone.
I got a problem for a week. I need your help T.T
My problem is about the type of signal to go in to the bus selector.
If I check a scenario reader's block parameters like this

then error became like under this sentance
Error: The signal connected to the input port of 'CRICcontrol_2024/Bus Selector' is not a bus signal. Input to the Bus Selector block must be a virtual bus signal or a non-virtual bus signal.
This error is likely due to the use of a bus-enabled block (for example, Merge or Unit Delay). Under this circumstance, the bus-enabled block cannot propagate downstream of the bus to the blocks reported in this error. For more information on complex (i.e., bus) signals and proper usage, refer to the Simulink Help document.
If I change the block parameters like this

then new error became!!!!
Error: Bus object 'BusActors3' propagated to the input port of block 'default/Bus Selector' does not match BusActors1' specified via block dialog or propagated to another input port in this block.
And also the number that next to 'BusActorsXX' became bigger when I run the simulation.
like this: BusActors3 ~~-> BusActors5~~
I want to solve this problem... please help me... T.T
I wrote the information about my project, but if you need more information to solve it then email me or leave your answer...
My Email : jwmoon55@kookmin.ac.kr
Answers (1)
Yashwanth
on 16 Jan 2026
0 votes
Hi,
I think the issue occurs because Scenario Reader outputs a dynamic bus, while Bus Selector requires a fixed bus definition. When the bus is inferred from the scenario, Simulink regenerates new bus objects (BusActors1, BusActors3, etc.), causing mismatches.
We can fix this:
- In Scenario Reader block parameters:
- Set Source of actors bus name → Auto
- Set Source of maximum number of actors → Property
- Set Maximum number of actors → fixed value
- Delete and reinsert the Bus Selector, then click Refresh in its dialog.
- Ensure no bus-enabled blocks (Unit Delay, Merge, Switch, etc.) are placed between Scenario Reader and Bus Selector.
Categories
Find more on Load Signal Data for Simulation in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!