- Mismatch in the signals
- Deletion of the signal which is expected at the Bus Selector as an input
- Duplicates in signal labelling
Busselector error after inserting a new signal
13 ビュー (過去 30 日間)
I have a problem after I have added a new signal to a buscreator, it no longer finds this signal in the output. (Busselector)
I get the following error message when updating the diagram:
Selected signal 'LongAccel_SendingFault' in the Bus Selector block '/*' cannot be found in the input bus signal. This may also happen if there is an always false variant block feeding '/*'. Change the variant conditions or set the Variant activation time of the variant blocks to 'Update Diagram Analyze All Choices'.
(For info I do not use Variant Models)
回答 (1 件)
Sai 2023 年 1 月 23 日
I understand that you are not able to extract the signals from Bus Selector as it is throwing an[AR1] error. I can reproduce the issue at my end with the following model
The reasons for the error could be:
As you can see in the above model, I have added all the required signals and deleted one of the signals. You can see that it throws the same error.
So, once the modifications are done and given to the Bus creator block, the output of the Bus Creator is given to the Bus Selector. Now, double click the Bus Selector block and select the signals you wanted to get from the Bus Selector
Please refer to the below documentation for more information on Bus Creator and Bus Selector blocks
Find more on Simulink Functions in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!