MATLAB Report Generator | ![]() ![]() |
Category
Description
The List component creates a bulleted or numbered list from a cell array or from subcomponents.
Attributes
This is the List attribute page.
Note To view a component attribute page in the Setup File Editor, select the component in the setup file outline on the left and click on the Options tab. If the component is not in the setup file outline, you must add it to the outline first. See Building and Editing the Setup File for a discussion on how to add a component to the outline. |
Formatting Options
List titleCompact
spacing or Normal
spacing. Bulleted list
or Numbered list.
If you choose Numbered list
, then you can select numbering options in the Numeration Options section.Numeration Options
Numbered List
for the List style. The options are:Note that this option is not available if you select the Show only current list value (a) option.
Note that this option is not available if you select the Show parent number in nested list (1.1.a) option.
Example1: Creating a Nested List
You can create a nested list by putting one cell array inside another or by nesting one List component inside another.
For example, if you have the following setup file, with one List component nested inside another List component.
[-] Report - Unnamed.rpt [-] Bulleted list from subcomponents [ ] Text - sky [ ] Table - varname [ ] Image - test.jpg [ ] Text - grass [-] Bulleted list from subcomponents [ ] Text - clouds [ ] Text - sun [-] Paragraph - information
Then the report would contain the following bulleted lists:
Example 2: Creating the Same List With Subcomponents and a Cell Array
Setup file with subcomponents:
[-] Report - Unnamed.rpt [-] Bulleted list from subcomponents [ ] Text - red [ ] Text - green [ ] Text - blue
Setup file calling a cell array:
Using either of these two setup files, the report contains the following bulleted list:
Insert anything into report?
Filename
![]() | Link | Paragraph | ![]() |