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

3 次查看(过去 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
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