Find Masked Requirement Tables

4 次查看(过去 30 天)
Brennan
Brennan 2025-1-15
评论: Brennan 2025-1-16
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 个评论
Githin George
Githin George 2025-1-16
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 2025-1-16
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.

请先登录,再进行评论。

回答(0 个)

产品


版本

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by