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

1 次查看(过去 30 天)
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.

回答(1 个)

Manikanta Aditya
Manikanta Aditya 2023-4-27
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.

类别

Help CenterFile Exchange 中查找有关 MATLAB Report Generator 的更多信息

产品


版本

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by