Export the Traceability Matrix View Programmatically

4 vues (au cours des 30 derniers jours)
Kavitha Tulluru
Kavitha Tulluru le 31 Août 2022
Modifié(e) : Josh Kahn le 23 Août 2023
I am able to generate traceability matrix programatically (with all slreqx files in one cell array as left artifacts and all slx in other cell array as right artifacts) but I am unable to generate a report or export that view in an excel programatically. I searched through out the documentation but no luck. Any help from you would be much appreciated.
Thank you

Réponses (1)

Alex Howard
Alex Howard le 6 Sep 2022
Hi Kavitha, it sounds like you're trying to export a traceability matrix. You can create an HTML report by clicking Export > Generate HTML Report in the Traceability Matrix window toolstrip.
You can also export the traceability matrix to a MATLAB variable that contains the table data by clicking Export > Create MATLAB Variable in the Traceability Matrix window toolstrip.
  7 commentaires
Shashwat Singh
Shashwat Singh le 21 Août 2023
So we cannot export the matrix by any MATLAB script . Instead we should do it manually and then write a MATLAB script to convert that export to Excel . Is my understanding correct ?? . can you plz confirm.
Josh Kahn
Josh Kahn le 23 Août 2023
Modifié(e) : Josh Kahn le 23 Août 2023
Yes, save the matrix to a MATLAB variable (table) through the GUI and then use writetable to save to excel.
Josh

Connectez-vous pour commenter.

Produits


Version

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by