If you are like me and often need to understand and edit new Simulink models, you probably already looked at a bus signal and wished you could easily know the hierarchy of signals inside it. What did you do? Before R2012a, my trick was to branch out the signal and connect it to a Bus Selector, just to inspect what is in the bus.
In R2012a, we made your life easier by introducing the Signal Hierarchy Viewer.
When right-clicking on a signal in R2012a, you will notice a new Signal Hierarchy option.
This opens a nice small window listing the hierarchy of signals inside the bus.
As you can see in the image above, the Signal Hierarchy Viewer allows you to filter the signals in the bus to quickly find what you are looking for.
Now it's your turn
What do you think of the Signal Hierarchy Viewer? Let us know by leaving a comment here.
要发表评论，请点击 此处 登录到您的 MathWorks 帐户或创建一个新帐户。