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.
How to build a report by adding components to its setup file
In the Report Explorer, in the Outline pane, select the parent node of the component to be inserted.
Most components have properties that you can set to select optional features.
In the Report Explorer, in the Outline pane, select the component that you want to move.
In the Report Explorer, in the Outline pane, select the component that you want to delete.
You can deactivate any component in a report setup.
You can send the components of a setup from the Report Explorer to the MATLAB workspace.
The magic squares report uses variables defined in the MATLAB workspace to specify the number and sizes of squares to display and whether to display the variables as tables of numbers or images of color-coded squares:
You can add MATLAB code to a report, by using the
Evaluate MATLAB Expression component
(also called the