Sorting / Looping / Rearranging Interfaces

4 次查看(过去 30 天)
Hello everyone!
I have designed a modular architecture for a simulation environment using System Composer. It uses a lot of nested interfaces which have to be edited every time we switch to a more detailed model.
For example, one interface contains the degrees of freedom, range of motion, and estimated accuracy of a moving part.
They are influenced by every component they get passed through. Here, the objects are the upper nodes and the ROM, DOF, Accuracy are the leaf nodes.
The problem is, it becomes very cumbersome if need a different sorting, e.g. all accuracies in one bus. In that case I have to call every accuracy with its own InBus block and the full navigation path from the top of the bus down to the leaf node.
Does anyone have an Idea how to iterate through the whole bus and access only certain nodes following a pre-programmed pattern?
Another benefit would be that I would be much more flexible when adding additional signals to the interface.
Thank you very much!
  1 个评论
Josh Kahn
Josh Kahn 2022-5-23
编辑:Josh Kahn 2022-5-23
Hi Till, can you share an example architecture and a code snippet demonstrating the issue you are having?

请先登录,再进行评论。

回答(0 个)

类别

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

产品


版本

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by