Main Content


Rebuild Report Explorer style sheet registry


rptrebuildregistry rebuilds the XSL and DSSSL style sheet registry of the Report Explorer. Run this command if you add a style sheet to the MATLAB® path after opening the Report Explorer. Another instance of when to run this command is if you add a style sheet after you run a report setup file for the first time in a MATLAB session.


A style sheet must reside on the MATLAB path for this command to register it.

The first time you open the Report Explorer in a MATLAB session, the Report Explorer searches the MATLAB path for XSL and DSSSL style sheets. It also searches the path the first time you run a report setup file. The Report Explorer enters those style sheets in a registry. The report setup file specifies the style sheet to use for the report. If the style sheet is not in the current folder and you run a report setup file, the Report Explorer looks for the style sheet in the registry. If you then create a style sheet and do not run this command, the style sheet is found only if it is in the current folder. To run the report from another folder, run this command after adding the style sheet.

Version History

Introduced in R2017b