User`s guide
Open a Report Setup
3-7
Opening a Setup Not on the MATLAB Path
Tip Use the setedit command to obtain a list of all the report setups on the MATLAB
path.
To open a setup that resides off the MATLAB path:
1
If the Report Explorer is not already open, from the MATLAB Toolstrip, in the
Apps tab, in the Database Connectivity and Reporting section, click Report
Generator..
2
In the Report Explorer, select File > Open or select the file open button on the
Report Explorer toolbar.
A file browser opens.
3
Use the file browser to find the report setup in your file system and enter the setup
name in the file browser File name field.
4
Select the file browser Open button.
The setup appears in the Outline pane as a child of the Report Generator node.
Opening a Setup Programmatically
To open a report programmatically, use the setedit command. For example, the
following command opens the simple-report.rpt example that comes with the
MATLAB Report Generator.
setedit simple-report
This command opens the Report Explorer, if it is not already open, and opens the
simple-rpt setup in the Report Explorer.
Tip If a setup exists on the MATLAB path, you do not need to specify its full path when
using the setedit command. Use the setedit command to obtain a list of all the report
setups on the MATLAB path.
The newly opened report appears in the Outline pane as a child of the Report
Generator node.