Sorting / Looping / Rearranging Interfaces

2 Ansichten (letzte 30 Tage)
Till Lindemann
Till Lindemann am 18 Mai 2022
Bearbeitet: Josh Kahn am 23 Mai 2022
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 Kommentar
Josh Kahn
Josh Kahn am 23 Mai 2022
Bearbeitet: Josh Kahn am 23 Mai 2022
Hi Till, can you share an example architecture and a code snippet demonstrating the issue you are having?

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu System Composer finden Sie in Help Center und File Exchange

Produkte


Version

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by