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