Matlab report generator Section

조회 수: 9 (최근 30일)
vivek patel
vivek patel 2022년 10월 15일
답변: Lokesh 2024년 11월 1일 10:32
The class mlreportgen.report.Section does numbering until the level of the 5.
How can we go below those levels ?

답변 (1개)

Lokesh
Lokesh 2024년 11월 1일 10:32
Hello Vivek,
In MATLAB's Report Generator, the 'mlreportgen.report.Section' class automatically numbers section titles up to five levels deep.
To number sections beyond the fifth level, a workaround is to manually append numbers to the section titles for these deeper levels.This approach involves explicitly defining the numbering within the title string.
Here's an example for reference:
% Create a sixth-level section with manual numbering
sec111111 = Section('Title', '1.1.1.1.1.1 Section 1.1.1.1.1.1', 'Numbered', false);
add(sec111111, Paragraph('Content of Section 1.1.1.1.1.1'));
add(sec11111, sec111111);
Refer to the following documentation to know more about 'mlreportgen.report.Section':

카테고리

Help CenterFile Exchange에서 MATLAB Report Generator에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by