Clear Filters
Clear Filters

how to get name of all element within an bus

3 views (last 30 days)
i want to got all the element name of a bus, and output these name to excel or txt, how to do?

Accepted Answer

kei hin
kei hin on 10 Nov 2023
Edited: kei hin on 10 Nov 2023
Try to use 'To Workspace' block which in Simulink/Sinks library , link to bus selector block to pick the data you want, then read the data from workspace.
  1 Comment
wenchao zhang
wenchao zhang on 11 Nov 2023
thanks, actually,i can get the block information of the bus,then just read the information,it is more convenient

Sign in to comment.

More Answers (0)

Products


Release

R2019a

Community Treasure Hunt

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

Start Hunting!