How to modify Requirements Settings with script or *.rpt?

4 Ansichten (letzte 30 Tage)
Tomasz
Tomasz am 29 Nov. 2024
Bearbeitet: Alex Howard am 2 Dez. 2024
I'm trying to generate a requirment report from simulink in Matlab 2020b I have Requirment Tollbox and Report Generation Toolbox. I am trying to do it automatically with matlab -nodisplay mode under Linux.
In Simulink APPS tab -> Requirements Manger -> REQUIREMENTS tab -> Pointing arrow below Share button -> Report Options a window opens with option that I am interested: "Report objects with no requirements" and if possible other options as well.
I was also trying to use modified requirments.rpt file, but without any luck. I don't know how to set the option. I run the report generation using this command
report("myreport.rpt",myComponent,"-fpdf","-oMyPath_report.pdf")
I found something like this: RptgenRMI.NoReqBlockLoop and RptgenRMI.NoReqSystemLoop, but I have no idea how to use it or if it is even used for the thing I want.
In conclusiton I want to be able to modify Requirment Settings with a script, not by clicking in the GUI. Or to override it with .rpt if possible.
Thanks

Akzeptierte Antwort

Alex Howard
Alex Howard am 2 Dez. 2024
Bearbeitet: Alex Howard am 2 Dez. 2024
Hi Tomasz,
It sounds like you're trying to programmatically set some of the Requirements Toolbox report generation settings. You can do that by using the rmipref function. The ReportNoLinkItems name-value argument corresponds to the setting that you pointed to in your screenshot. There are other name-value arguments that start with Report that you might find useful as well.
Thanks,
Alex

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by