To edit a style sheet:
In Report Explorer, select a report setup file in the Outline pane on the left.
From the menu bar, click Tools > Edit Style Sheet.
The Report Explorer displays as follows.
The Outline pane on the left displays the structure of style sheets you create.
The Options pane in the middle lists style sheets available for customizing.
Tip: Double-click a category to collapse it. Double-click it again to expand it.
The Properties pane on the right shows properties of style sheets, such as name and description.
You can use the Report Explorer to work with style sheets as follows.
|Task||Pane to Use||Action|
|Create a style sheet||Properties||Click the link that corresponds to the kind of style sheet you want to create|
|Open an existing style sheet||Properties||Click the name of the style sheet, which appear in the Open Style Sheets area|
|Select a style sheet to use for converting an XML source file||Options||Select a style sheet by clicking on it|
|View a list of customized styles in a style sheet||Outline||Expand any open style sheet|
|View a list of styles in a style sheet||Outline or|
|Double-click the style sheet|
|View a list of style sheets available for editing in a given category||Options||Double-click the folder that corresponds to the kind of output you want (that is, HTML, PDF, RTF, or Word)|
|View open style sheets||Outline||Expand the Style Sheet Editor item in Report Explorer|
|Change the name or description of the current style sheet||Properties||Edit the text in the Display Name or Description field.|
|Convert an XML source file using the current style sheet||Properties||Click Send to Source File Converter in the Properties pane.|
|Edit customized style data||Properties||Click the style data item, which appears in the Style Sheet Customizations area|
|Open a style data item for editing or viewing||Options||Double-click the data item that you want to edit.|
|View a list of customized style data||Outline||Expand the style sheet|
You must save a style sheet before you can use it to convert a source file or associate it with a report. To use the Report Explorer to save a style sheet:
Select the style sheet that you want to save in the Outline pane on the left.
Select File > Save As from the menu bar and specify a new name for the style sheet (to avoid overwriting built-in style sheets). You must save the file in a folder in your MATLAB® path for the style sheet to appear in the Report Explorer. The file name must be unique in the MATLAB path.
By convention, MATLAB Report Generator™ style sheets have
their file name extension.
To use the Report Explorer to delete a style sheet that you created:
Select the style sheet that you want to delete in the Outline pane on the left.
Click the style sheet to delete from the Options pane in the middle.
Click Delete style sheet in the style sheet's Properties pane on the right.
You must restart the MATLAB software session for deleted style sheets to disappear from the Options pane.
Note: You cannot delete built-in style sheets.