Find Masked Requirement Tables

4 views (last 30 days)
Brennan
Brennan on 15 Jan 2025
Commented: Brennan on 16 Jan 2025
I am using the slreq.modeling.find() function to pull the requirement tables from a model. I would like to also pull the masked tables form the same model but this function seems to miss those elements. How can I pull the masked tables as well?
  2 Comments
Githin George
Githin George on 16 Jan 2025
I tried doing this with a simple model in MATLAB R2024a containing 2 "Requirement Table" blocks. One of the blocks had a simple mask as well. In the output I'm actually getting a 1x2 RequirementsTable array as the output. I can try debugging further if I have your model and if the masked blocks are indeed missed out in the results.
Brennan
Brennan on 16 Jan 2025
It appears that part of the issue stems from the fact that the requirement tables are sub elements of a system that is defined under the mask. If the requirement table itself is masked, then it shows up, however if the mask covers that requirement table with inports and outports in a simple sub-system, then it does not show up.

Sign in to comment.

Answers (0)

Products


Release

R2024a

Community Treasure Hunt

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

Start Hunting!