フィルターのクリア

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