MATLAB Report Generator | ![]() ![]() |
Creating Another Attribute
To create another attribute, click on the New button. To delete an attribute, select it and click on the Del button.
Component Attribute Tutorial Task 2
This task creates another attribute. This attribute lets you control the number of lines that appear in the plot. The default number will be 3. The UI control for this attribute will be a numerical slider. This attribute will appear on the attribute page with the name: Number of lines to appear in plot.
First click on the
New button and then enter the following parameters:
NumLines
Number
3]
slider
Number of lines to appear in plot
After you have completed the tutorial tasks, the Component Attributes page will have the following appearance.
These are the attributes you just created.
![]() | Specifying the Attribute Name | Creating Component Methods | ![]() |