Matlab report generator Section

9 visualizzazioni (ultimi 30 giorni)
vivek patel
vivek patel il 15 Ott 2022
Risposto: Lokesh il 1 Nov 2024 alle 10:32
The class mlreportgen.report.Section does numbering until the level of the 5.
How can we go below those levels ?

Risposte (1)

Lokesh
Lokesh il 1 Nov 2024 alle 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':

Categorie

Scopri di più su MATLAB Report Generator in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by