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.
0 个评论
回答(1 个)
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.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 MATLAB Report Generator 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!