Matlab report generator Section

9 views (last 30 days)
vivek patel
vivek patel on 15 Oct 2022
Answered: Lokesh on 1 Nov 2024 at 10:32
The class mlreportgen.report.Section does numbering until the level of the 5.
How can we go below those levels ?

Answers (1)

Lokesh
Lokesh on 1 Nov 2024 at 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':

Categories

Find more on MATLAB Report Generator in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!