Where is the XSL stylesheet that matlab uses when it publishes code to HTML?

Does anyone know which file matlab uses for the XSL stylesheet when a script is published?
I know I can select my own stylesheet on the publish dialogue but that removes all the default styles. Ideally I'd like to add to the default stylesheet instead of recreating the whole thing.

 Accepted Answer

Found it
%MATLAB ROOT%\toolbox\matlab\codetools\private\mxdom2simplehtml.xsl
You can copy this, then edit to create a custom look for your published code.

More Answers (0)

Categories

Asked:

on 28 Sep 2012

Commented:

on 19 May 2018

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!