Workaround entails copying the .m into a .mxl, then "Save" -> "Export to HTML". The resulting HTML is a single file that contains embedded images of the figures.
Publish single html file with images
9 views (last 30 days)
Show older comments
When a MATLAB script is published to html, there is an associated folder containing the figures. I would like to publish a single html file that has the figure images encoded into the src. I need this because I am going to embed the html within another html (I'm putting my MATLAB html on my Weebly.com site).
If I code in R and use knitr to make my html, it get a single html file and everything works great.
Answers (0)
See Also
Categories
Find more on Read, Write, and Modify Image 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!