|On this page…|
Most components have properties that you can set to select optional features. For example, the Text component lets you specify the color of the text that it generates among other properties.
To set component properties:
In the Report Explorer, in the Outline pane, select the component.
The Properties dialog box for the component appears in the Properties pane.
Use the Properties dialog box to set component properties.
During report generation, the Report Generator can compute the values of component properties, using MATLAB® expressions that you specify. This enables dynamic creation of report content. For example, you can use MATLAB expressions to compute the content of Paragraph components and the value of looping components that generate repeated content.
You can use MATLAB expressions to compute the value of any string property of a component. A string property is a property whose value is a string of text. To specify a MATLAB expression as a string property value, in the Properties dialog box, in the property edit box, enter %<expr>, where expr is a MATLAB expression that evaluates to a string.