MATLAB Report Generator    

Creating Component Attributes

Component attributes determine how a component behaves and what information it inserts into the report. You can see component attributes in the Options tab of the Setup File Editor.

You create an attribute page for the new component on the Component Attributes page of the Component Creation Wizard.

In this section there are two tutorial tasks to demonstrate the steps in creating component attributes. Component Attribute Tutorial Task 1 will create an attribute that allows you to put a title on your plot. Component Attribute Tutorial Task 2 will create an attribute that allows you control the number of lines that will be on your plot.

Click on Component Attributes in the list box on the left to get to the Component Attribute page. Or, if you have just completed the Component Name page, click on Next ->.

Component Attribute Tutorial Task 1

For the first component attribute tutorial task, you will create an attribute that lets you put a title on your plot. This attribute will have an editable text field. The default title will be My Random Plot. This attribute should appear on the attribute page with the name: Title of created plot.

This tutorial task consists of the following steps:


  Creating the Component Name Specifying the Field Name