Clear Filters
Clear Filters

Selected signal on bus selector is actually present but still why there is the error of not found?

39 views (last 30 days)
I am selecting a signal that is already present on the bus. Its fine.
But once the new signal is added, even though the selected signal is present on the bus, while updating diagram(Ctrl+d), it throws this strange error.
"Selected signal '*' in the Bus Selector block '*/*/Bus Selector' cannot be found in the input bus signal."
Selected signal on bus selector is actually present but still why there is the error of cannot be found in the input bus?
And, I am unable to re-produce this because it happens very rarely and once it occurs, its just major blocking.

Answers (1)

T.Nikhil kumar
T.Nikhil kumar on 29 Nov 2023
Hello Karol,
I understand that you are facing an error when a new signal is added to an input bus signal and the model is updated.
I suggest you try the below mentioned steps which may resolve the error:
  1. Make sure that the selected signal names in Bus Selector block and the input bus are the same. Minor difference such as trailing white spaces may cause this error too. There must be no duplicate signals with same names.
  2. Once you add the new signals to the Bus creator block, whose output would be given to the Bus Selector, double click the Bus Selector block and select the signals you wanted to get from the Bus Selector. You can also try removing the signal and selecting it again.
  3. Try passing the specific signal through a ‘Gain’ block with gain parameter as 1 instead of directly passing it to the Bus creator block.
Please refer to the below answer to a similar question posted on the forum for better understanding:
Hope this helps you proceed further!

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!