MATLAB Report Generator    

Tutorial: Editing and Running the New Component

You have now completed the part of the tutorial that uses the Component Creation Wizard.

For the rest of this tutorial, you will be editing M-files that are produced when you create the component. The table below shows the M-files you will be editing.

Edit This M-File
To Complete This Task
execute.m
Incorporate new attributes and insert a snapshot of the figure into the report
getinfo.m
  • Add new attributes
  • Change an existing attribute
outlinestring.m
Change the string that appears in the setup file outline in the Setup File Editor

In general, to edit these M-files, you must have some knowledge of MATLAB. To edit these M-files for the tutorial, you should have some knowledge of Handle Graphics as well.

Tutorial Activities

In this tutorial, you will work through examples relating to:

You can see the results in the section called The Report Created by the Figure Random Plot Component.


  Reviewing All Component Information Editing a New Component