how to get name of all element within an bus

4 次查看(过去 30 天)
i want to got all the element name of a bus, and output these name to excel or txt, how to do?

采纳的回答

kei hin
kei hin 2023-11-10
编辑:kei hin 2023-11-10
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 个评论
wenchao zhang
wenchao zhang 2023-11-11
thanks, actually,i can get the block information of the bus,then just read the information,it is more convenient

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Sources 的更多信息

产品


版本

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by