Generate report for requirements set
generates a report for the requirements sets specified by
myReportPath
= slreq.generateReport(reqSetList
, reportOpts
)reqSetList
using the options specified by
reportOpts
and returns the path
myReportPath
to the report.
% Generate a requirement report in Microsoft(R) Word % format for all loaded requirements sets % Get default report generation options structure myReportOpts = slreq.getReportOptions(); % Specify the generated report path and file name myReportOpts.reportPath = 'L:\My_Project\Reqs_Report.docx'; % Generate the report for all loaded requirements sets myReport = slreq.generateReport('all', myReportOpts);
Note
To generate reports in PDF and HTML formats, specify a .pdf
or a .html
file name as the reportPath
value.