How can I select data from a bus element returned by the "In Bus Element" block programmatically?
Show older comments
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?
Accepted Answer
More Answers (0)
Categories
Find more on Event 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!