필터 지우기
필터 지우기

Sorting / Looping / Rearranging Interfaces

조회 수: 4 (최근 30일)
Till Lindemann
Till Lindemann 2022년 5월 18일
편집: Josh Kahn 2022년 5월 23일
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