Publish single html file with images

9 views (last 30 days)
Matt Falcy
Matt Falcy on 5 Jun 2018
Commented: Matt Falcy on 6 Jun 2018
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.
  1 Comment
Matt Falcy
Matt Falcy on 6 Jun 2018
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.

Sign in to comment.

Answers (0)

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!