slreq.generateReport
Generate report for requirement set
Description
generates a report for the requirement sets specified by
myReportPath
= slreq.generateReport(reqSetList
, reportOpts
)reqSetList
using the options specified by
reportOpts
and returns the path
myReportPath
to the report.
Examples
Generate Requirement Report
% Generate a requirement report in Microsoft(R) Word % format for all loaded requirement 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 requirement 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.
Input Arguments
Output Arguments
Version History
Introduced in R2018a