MATLAB Report Generator    
Chapter/Subsection

Component

Chapter/Subsection

Category

Formatting

Description

The Chapter/Subsection component groups portions of the report into sections. Each section has a title and some content. The following rules apply to the Chapter/Subsection component:

Sections can be nested and titles will automatically become smaller inside sub-sections. There are seven levels of nesting possible.

Any Chapter/Subsection components beyond the sixth section do not create a titled section, although the subcomponents of these sections do insert information into the report.

Chapter Numbering

By default, chapters are numbered and sections are not numbered. Chapter and section numbering are specified by the stylesheet you choose in the Report Options attribute page. See Report Format and Stylesheets for chapter and section numbering options in Web and Print stylesheets.

Attributes

This is the Chapter/Subsection attribute page.

Section Title

Get title from first subcomponent
Select this option if you want to take the title of the section of the first subcomponent. If you choose this option, the title is taken from the first subcomponent and section content is drawn from the second subcomponent until the end of the subcomponent list. The first subcomponent should be a Text component.
Specify title
If you do not want to get the title from the first subcomponent, then enter the title in this field. You can enter %<VariableName> if you want to insert the value of a variable from the MATLAB workspace. Please see %<VariableName> Notation in the Text component reference page.

Section Type

The item in boldface shows you what level the selected section is residing in.

For example, if you have the following in the setup file outline

And you select the second Chapter/Subsection component, the Section Type hierarchy field will look like this.

Section 1 appears in boldface to indicate the nesting level of the selected Chapter/Subsection component.

Insert anything into report?

Yes. Chapter or section.

Filename

cfrsection


  Cell Table Image