Port Size on a Bus Selector block
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I am using a Bus Selector Block to pick a particular signal object from a bus. I get the following error:
Error in port widths or dimensions. Output port 1 of 'SimulinkModelName/MATLAB Function Block' is a [55x1] matrix.
Error in port widths or dimensions. Input port 1 of 'SimulinkModelName/Bus Selector' is a one dimensional vector with 1 elements.
The MATLAB Function Block is where the bus signal is coming from and goes into the Bus Selector.
How can I get the Bus Selector inlet port dimensions to match the MATLAB Function Block outlet port dimensions?
2 Kommentare
Kaustubha Govind
am 9 Nov. 2011
Are you sure that your MATLAB Function Block has a bus as its output? According to the error, it seems that it is a 55x1 matrix type.
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Sources finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!