User`s guide

Specify Tasks for a Component to Perform
7-17
Note: Do not modify fields that are not explicitly included in this file. These fields are
subject to change in future releases.
Specify Additional Component Properties
You can edit additional MATLAB files to customize your component further. To access
these files, right-click the component in the Outline pane on the left in the Report
Explorer and select Edit files from its context menu.
For more information, see the following sections:
“Specify Whether Components Can Have Children Components” on page 7-17
“Modify a Component Description” on page 7-17
“Change a Component Display Name” on page 7-18
“Change a Component Category Name” on page 7-18
“Register Components” on page 7-18
“Display Component Help in the MATLAB Help Browser” on page 7-18
Specify Whether Components Can Have Children Components
To specify whether a component can have children, edit getParentable.m. This
command returns the value true or false. For example, if you no longer want your
component to have child components, modify the value within the code as follows:
p = false;
Modify a Component Description
The description n getDescription.m is the same value as the Description field in the
Report Explorer. The following example shows how to edit the compDesc string in this
file to change a component's description to An example component: