Main Content

Work with Components

Insert and edit components in setup file to define report structure and content

Components are MATLAB® objects that specify the content of a report. Add components to a setup file to specify the types of content and the structure for a report. For details, see Components.

Report Components

expand all

Title PageInsert title page at beginning of report
Chapter/SubsectionGroup portions of report into sections with titles
ParagraphInsert paragraph text into report
TextFormat and insert text into report
CodeInsert text formatted as code in a paragraph
PreformattedInsert preformatted paragraph
HTML TextInsert HTML-formatted text into reports generated from a template
Line BreakInsert a line break
Page BreakInsert a page break
ListCreate bulleted or numbered list from cell array or child components
LinkInsert linking anchors or pointers into report
ImageInsert image from external file into report
Insert VariableInsert variable values into report
Figure SnapshotInsert snapshot of figure into report
Axes SnapshotInsert image of selected MATLAB axes objects into the generated report
MATLAB Toolbox Version NumberInsert table that shows version and release numbers and release date of MathWorks products
Nest Setup FileAllow one report setup file (rpt file) to run inside another
Empty ComponentGroup components to move, activate, or deactivate them, or create blank space in list
Import FileImport ASCII text file into report
Handle Graphics Linking AnchorDesignate location to which links point
Handle Graphics NameInsert name of Handle Graphics object into the report
Handle Graphics ParameterInsert property name/property value pair from Handle Graphics figure, axes, or other object
TableInsert parent of table
Array-Based TableConvert rectangular array into table and insert it into report
Variable TableInsert table that displays all the variables in the MATLAB workspace
Table BodyInsert parent of table body
Table Column SpecificationSpecify table column properties
Table EntryInsert table entry
Table FooterInsert parent of table footer
Table HeaderInsert parent of table header
Table RowInsert parent of table row entries
MATLAB Property TableInsert table that includes MATLAB object property name/property value pairs
Handle Graphics Property TableInsert table that reports on property name/property value pairs
Handle Graphics Summary TableInsert table that summarizes Handle Graphics object properties
For LoopIteratively execute child components
While LoopIteratively execute child components while a specified condition is true
Logical IfSpecify logical if condition
Logical ThenSpecify a then condition for a Logical If component
Logical ElseSpecify an else condition for a Logical If component
Logical ElseifSpecify an elseif condition for a Logical If component
Graphics Object LoopRun child components for each Handle Graphics object open in MATLAB workspace
Figure LoopApply child components to specified graphics figures
Axes LoopRun child components for all axes objects in MATLAB workspace

Topics