Requirements toolbox : links (type : related) do not appear when exporting to Excel, using ReqXLSExport method

1 view (last 30 days)
Hello,
I am currently working with multiple sets of requirements, which I have linked together. I am now looking to export a specific set using script, to a .xls file.
My set has requirements linked with other requirements through the "related" type. (I selected one req, used "select for linking with requirements" from the add link menu, then selected a different requirement, to then clck "link to selected requirements").
So my set is fully linked, and when I try exporting using the export menu, to a word file, those links do appear properly.
My problem is that when I try exporting through script, using ReqXLSExport(), to an Excel file, the links do not appear at all. as an argument, I tried using <links-in> and <links-out>, with and without parameters, without sucess (<links-in:Related> does not seemingly exist, and same thing goes for <links-out:Related>).
I tried to investigate the reqXlsExport method for answer, but I couldn't find much. I tried numerous times, using different link types, without success. I have to use the reqXlsExport method, as I need to control exactly what is exported, and I need it to be through Excel.
I thank you in advance for your help,
Best regards.

Accepted Answer

Josh Kahn
Josh Kahn on 31 Jul 2023
Hi @Loic,
I think you are looking for "Relate" <links-in:Relate>. Let us know if you have any other issues.
You can find the list of link types here:
Regards,
Josh

More Answers (0)

Products


Release

R2023a

Community Treasure Hunt

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

Start Hunting!