How to modify Requirements Settings with script or *.rpt?
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Tomasz
el 29 de Nov. de 2024
Editada: Alex Howard
el 2 de Dic. de 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
0 comentarios
Respuesta aceptada
Alex Howard
el 2 de Dic. de 2024
Editada: Alex Howard
el 2 de Dic. de 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
Más respuestas (0)
Ver también
Categorías
Más información sobre Startup and Shutdown en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!