|On this page…|
You can generate a report in a different output file format without regenerating it by using either the Report Explorer File Converter or the rptconvert command. These utilities convert DocBook XML source files created by the report-generation process into formatted documents such as HTML, RTF, or PDF.
To open the Convert Properties pane:
The Convert Source File Properties pane appears. All XML files in your current folder appear in the Options pane in the middle.
Click Browse in the Properties pane on the right to browse to the location of your XML source.
Double-click a file name in the Options pane in the middle to automatically enter it into the Source file field in the Properties pane.
In the File format text box, select an output format.
In the Stylesheet text box, select a stylesheet. The stylesheet choice depends on the specified output format. You can use a predefined or customized stylesheet.
For more information about available formats and predefined stylesheets, see Report Output Format and Stylesheet.
For more information about customizing stylesheets, see Create a New Stylesheet.
Use the View Report when done converting check box to indicate whether you want to view the report after it has conversion.
To convert files using the command line, use the rptconvertfunction.
Before you send a source file to the converter, edit it as text in the Report Explorer:
In the Outline pane on the left, open the File Converter.
Right-click MATLAB Report Generator and select Convert source file.
In the Options pane in the middle, select the source file to edit.
In the Properties pane on the right, click Edit as text.
Use the MATLAB® Editor to edit and save the text.