mlreportgen.report.Section.number
Class:mlreportgen.report.Section
Package:mlreportgen.report
Set section numbering
Syntax
mlreportgen.report.Section.number(report,numbering)
Description
mlreportgen.report.Section.number(
indicates whether to include numbers before report section titles. Report sections are numbered consecutively by default.report
,numbering
)
Input Arguments
Examples
Turn Off Section Numbering
importmlreportgen.report.*importmlreportgen.dom.*rpt = Report('My Report','pdf'); add(rpt,TitlePage('Title','My Report',...'Author','MathWorks')); add(rpt,TableOfContents); add(rpt,Chapter('Title','Boeing 747',...'Content','This report describes the Boeing 747.')); mlreportgen.dom.KeepWithNext(1); add(rpt,Section('Title',“波音747的形象”,...'Content',Image(which('b747.jpg')),'Numbered',0)); close(rpt); rptview(rpt);
Introduced in R2017b