How to customize Titlepage of system design description report using MATLAB commands

1 view (last 30 days)
SDD_custom.rpt file is available in local folder and it is loaded as shown below.
Code block is shown below:
setupRoot = rptgen.loadRpt('SDD_custom');
generated_reports_folder = "Jenkins_Reports\";
out_path_param = "-o"+generated_reports_folder;
[report_file_paths] = ...
report(setupRoot,...
"-fdom-pdf-direct","-sdefault-rg-pdf", out_path_param);
Report is generated with the Title name as ReportStatus. I need to modify the title name. Is there any way to do this or any modfication required for the above code section.

Answers (1)

Manikanta Aditya
Manikanta Aditya on 27 Apr 2023
Hi Shilpa
As per my understanding, you are interested to know how to modify the title name of the system description report with MATLAB commands.
Here is an example showing how you can do it:
setupRoot = rptgen.loadRpt('SDD_custom');
setupRoot.Title = 'New Title Name';
generated_reports_folder = "Jenkins_Reports\";
out_path_param = "-o"+generated_reports_folder;
[report_file_paths ] = ...
report(setupRoot,...
"-fdom-pdf-direct","-sdefault-rg-pdf", out_path_param);
I hope this resolves the issue you were facing.

Categories

Find more on MATLAB Report Generator in Help Center and File Exchange

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!