Clear Filters
Clear Filters

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

7 views (last 30 days)
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?

Answers (1)

Shreshth
Shreshth on 26 Jun 2024 at 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!