필터 지우기
필터 지우기

How to search subsystems which has links (rmi links) to requirement documents?

조회 수: 7 (최근 30일)
Rudolf
Rudolf 2014년 2월 7일
답변: Shreshth 2024년 6월 26일 5:30
I'm using R2011b, i want a list of subsystems which has links to a document using the rmi (Requirements Management Interface), my model has a number of subsystems but only few have been lined to some requirement documents.
rmi does provide the command: reqlinks = rmi('get', object); but in order to use this, i need to know which subsystems has links in the first place; this command may help me in sorting the subsystems with links (by looking at the return value), but it is not fast
Is there a faster way to sort only those subsystes which has links?

답변 (1개)

Shreshth
Shreshth 2024년 6월 26일 5:30
Hey,
To efficiently identify subsystems with requirement links in MATLAB R2011b, use the `find_system` command to get all subsystems in your model, then iterate through them using `rmi('get', object)` to check for links. Collect and display the subsystems that have requirement links. This approach is faster than manually checking each subsystem.

Community Treasure Hunt

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

Start Hunting!

Translated by