MATLAB Answers

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

14 views (last 30 days)
Fuad
Fuad on 28 Sep 2012
Commented: per isakson on 19 May 2018
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.

  0 Comments

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!