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