Why can't I propagate my bus signals through a Switch block?

112 visualizzazioni (ultimi 30 giorni)
I have two bus signals, each created with a "Bus Creator" block. When setting up a "Switch" block to take in my bus signals, I get an error including:
 
===================== ERROR BELOW =====================
Cannot propagate bus signal from output port 1 of 'untitled/Bus Creator' to input port 1 of 'untitled/Switch'

Risposta accettata

MathWorks Support Team
MathWorks Support Team il 21 Ott 2020
Modificato: MathWorks Support Team il 21 Ott 2020
"Switch" blocks support bus signals, however there is a limitation: Hierarchies and element names of both bus inputs must be identical.
You have two options to resolve this error:
 
1. Rename the input signals to the "Bus Creator" block so that they match the Bus definition (you may have to do this for both "Bus Creator" blocks)
  2. Un-check the following "Bus Creator" block parameter ("checked" by default):  
  Un-checking the parameter will strictly enforce the output signal names to match the bus definition, regardless of the input signal names.  

Più risposte (0)

Categorie

Scopri di più su Composite Interfaces in Help Center e File Exchange

Tag

Non è stata ancora inserito alcun tag.

Prodotti


Release

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by