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

4 views (last 30 days)
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

Fuad
Fuad on 9 Oct 2012
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

Find more on Structures in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!