Get bus elements from output port
Ältere Kommentare anzeigen
I have a model that bundles signals in a Simulink.Bus object and outputs it via an Outport.
get_param(outport_block_handle,'OutDataTypeStr'); gives me the name of the Bus: 'Bus:myBusName'.
The Simulink.Bus is defined somewhere in a data dictionary buried somewhere in a chain of data dictionaries.
What is the easiest way to get the bus elements (signal1, signal2, ...) of the outport or at least their names respectively?
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Composite Interfaces finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!