Filter all "real" requirements in the requirements editor
23 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Matteo
il 27 Nov 2024 alle 10:42
Modificato: Alex Howard
il 27 Nov 2024 alle 16:01
How can I create a view in the Requirements Editor that filters and displays only the "real" requirements? I want to exclude headings, chapters, and other non-requirement items, and only show elements that have a value in the "Req ID" column, as this indicates they are actual requirements.
0 Commenti
Risposta accettata
Alex Howard
il 27 Nov 2024 alle 14:57
Modificato: Alex Howard
il 27 Nov 2024 alle 16:01
Hi Matteo,
It sounds like you're trying to use filters in the Requirements Editor. There might be multiple filter criteria that you can use to show only the requirements that you want to. To accomplish this, you should use a view in the Requirements Editor and then create a requirements filter for the view. For more information, see Configure Views in the Requirements Editor.
You might be able to define a filter that only shows requirements that have a certain type. For example, this filter only shows requirements that have the type set to Functional:
{"ReqType","Functional"};
It sounds like you're trying to create a filter for requirements that have a non-empty Id property. I'm not familiar with a configuration where some requirements have an empty value for the Id property, but if that's the case, you might be able to use a requirements filter like this to only show those requirements that have a non-empty value for the Id property:
{"Id:~=",""}
Keep in mind that you can define filters that use built-in properties of the slreq.Requirement class in addition to custom attributes and stereotype properties. For example, this filter shows only requirements that have a non-empty value for a custom attribute called MyCustomAttribute.
{"MyCustomAttribute:~=",""}
Let me know if that helps!
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Author Requirements in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!