Matlab report generator Section

5 ビュー (過去 30 日間)
vivek patel
vivek patel 2022 年 10 月 15 日
回答済み: Lokesh 2024 年 11 月 1 日
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 日
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 Center および File ExchangeMATLAB Report Generator についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by