Filter löschen
Filter löschen

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

1 Ansicht (letzte 30 Tage)
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.

Antworten (1)

Manikanta Aditya
Manikanta Aditya am 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.

Kategorien

Mehr zu Function Creation finden Sie in Help Center und File Exchange

Produkte


Version

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by