Simulink Requirements: sorting the requirement based on the slreq editor
3 次查看(过去 30 天)
显示 更早的评论
Hello all,
req = find(ReqSet);
But, even if I change the sorting of requirements using the slreq editor (by the 'Move up/down' commands), when I run the code above once again, any "new" sorting is not implemented: req has always the same ordering of when I created the requirement.
How to make any new sorting of the requirement made by the editor effective also using 'find' ?
0 个评论
回答(1 个)
Yasumitsu Ito
2020-1-9
Hello Marco,
ch = ReqSet.children;
should return ordered list of child requirements of the ReqSet.
Please note that sorting on the requirements editor by clicking a column header (not by the Move up/down) will not be effective as it doesn't change phycial order of requirements.
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!