How can I select data from a bus element returned by the "In Bus Element" block programmatically?
Ältere Kommentare anzeigen
I have a Simulink model in MATLAB R2021b that I would like to access values of programmatically. I am using the "In Bus Element" block and would like to select one of its outputs to use in a script, but the output data of the block seems to only be for the first element of the bus.
How can I access and keep track of the different outputs of the block?
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Event Functions 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!