- Find any signal/bus line.
- Right-click on it and select the Signal Hierarchy option. (See image for reference)
- Signal Hierarchy Viewer will open which shows the signal hierarchy for a bus.
How can I obtain the bus hierarchy from Bus Element I/O ports?
4 次查看(过去 30 天)
显示 更早的评论
Is there a way to obtain the bus hierarchy created by using Bus Element In/Out ports in MATLAB (in a data structure or else)?
I can see in Simulink if you double-click any bus element port, it opens up a list containing the Bus hierarchy.
I am using R2019b (moving to R2022b in the next months).
Thanks in advance!
0 个评论
采纳的回答
Sahas Marwah
2023-6-28
In MATLAB, you can open and explore the bus hierarchy using the Simulink Bus Editor. There is no method to open Bus editor directly from MATLAB.
To display the bus hierarchy information on Simulink:
You can also see these documentation pages for more information:
https://in.mathworks.com/help/simulink/ug/view-composite-signals.html -- Explains more about bus and signal hierarchies
https://in.mathworks.com/help/simulink/ug/modify-bus-hierarchy.html -- How to open bus hierarchy view
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Sources 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!