MATLAB Report Generator | ![]() ![]() |
Using the Setup File List To Generate a Report
You can use the Setup File List to generate or edit a report. To invoke the Setup File List, type rptlist
at the command line. The following will appear.
To generate a report, select a setup file and click on the Report button.
To edit a report, select a setup file and click on the Edit button. This opens the Setup File Editor. The Setup File Editor is discussed in detail in the following section, Getting Started with the Setup File Editor.
All Simulink systems have a property called ReportName
. This property is used to specify which report to use for a particular system. Type rptlist <system_name>
to start the Setup File List with Simulink's ReportName
property selected. The Simulink system must be open. (You must have Simulink to use the rptlist
command in this manner, but you do not need the Simulink Report Generator.)
If you type rptlist vdp at the MATLAB command prompt with the vdp model open in Simulink
, the following UI will appear.
This Setup File List UI has an additional button, Set, which sets the selected setup file name as the system's new ReportName
property. Using the Edit or Report button opens the Setup File Editor or generates a report, respectively.
You can also call this UI from a Simulink model by selecting Report Generator... from the Tools menu.
Note that you can display a list of all the setup files on your path in the command window instead of in the Setup File List UI; to do so, type
![]() | Using the Command Line To Generate a Report | Using the Setup File Editor To Generate a Report | ![]() |