Documentation

This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.

Working 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.

Examples and How To

Add Report Content Using Components

How to build a report by adding components to its setup file

Insert Components

In the Report Explorer, in the Outline pane, select the parent node of the component to be inserted.

Set Component Properties

Most components have properties that you can set to select optional features.

Move Components

In the Report Explorer, in the Outline pane, select the component that you want to move.

Delete Components

In the Report Explorer, in the Outline pane, select the component that you want to delete.

Deactivate Components

You can deactivate any component in a report setup.

Send Components to the MATLAB Workspace

You can send the components of a setup from the Report Explorer to the MATLAB workspace.

Specify Report Variables

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:

Error Handling for MATLAB Code

You can add MATLAB code to a report, by using the Evaluate MATLAB Expression component (also called the Eval component).

Concepts

Components

Explains what components are and how to use them

Computed Property Values

During report generation, the Report Generator can compute the values of component properties, using MATLAB expressions that you specify.

Was this topic helpful?