Create Custom Components

To create a component:

  1. Open the Report Explorer.

  2. Select one of the component creation choices from the Tools menu:

    • To create a custom component, select Create Component.

    • To create a custom component from an existing component, select Create Component from.

    • To create a component from an existing version 1 component, select Create Component from V1.

      Tip   You can also create a custom component by clicking the Create a new user-defined reporting component link in the Report Explorer Properties pane on the right.

    The Report Explorer displays as follows:

    • The Outline pane on the left displays the structure of components you create.

    • The Options pane in the middle lists properties you add to components.

    • The Properties pane on the right specifies the behavior of component properties.

  3. Specify properties of the component in the Properties pane of the Report Explorer. For more information, see Define Components.

  4. Specify tasks you want the component to perform by editing the MATLAB® files that comprise the framework of the component. For more information, see Specify Tasks for a Component to Perform.

  5. Build the component. For more information, see Build Components.

After you build the custom component, you can use it to specify options for your generated report in the report setup file.

    Note:   You must restart the MATLAB software session before using a newly created or rebuilt component.

Was this topic helpful?