필터 지우기
필터 지우기

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

조회 수: 2 (최근 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에서 Function Creation에 대해 자세히 알아보기

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by