Comparison of two requirements versions
Afficher commentaires plus anciens
I am facing an issue while comparing two requirement versions that is imported from excel file into requirement toolbox and saved as "slreq" files. Both the files has same number of columns. lets say there 100 rows mentioning requirements in "req_v1.xlsx" out of that approx 10 rows has been modified in "req_v2.xlsx". I have got slreqx files by importing these files from respected xlsx files using Requirement toolbox. I want to see the modifications in those 10 rows keeping side by side. For that I am using option "Compare Selected Files/Folders".
Now the problem is - comparison tool shows all 100 lines has been changed considering it as whole set of 100 rows as one. Ideally it should show 90 lines as same and 10 lines are different putting side by side. Does anybody have idea to solve these issue?
P.S. content of other 90 rows are exactly same, no change in format also.
Réponses (1)
Josh Kahn
le 1 Déc 2025
0 votes
You're going to want to leave the "Allow updates from External Source" option selected when you import the requirements:

Then, update the original spreadsheet and go into Requirements Toolbox, select the requirement set, then press the "Update" button.

You can then use the MATLAB Comparison tool to compare the updated slreqx with the original slreqx (or even easier, if using git, you can compare the updated requirement set to it's ancestor in source control).
Does this solve your problem?
Josh
Catégories
En savoir plus sur Author Requirements dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!