Azzera filtri
Azzera filtri

Export figure to html

22 visualizzazioni (ultimi 30 giorni)
Omiros Tsioumplektsis
Omiros Tsioumplektsis il 27 Ago 2016
Risposto: Ixxat il 30 Ago 2016
Hello everyone! I've got a mini project on Matlab and I need some small help.
I need to export a figure from my file, but in an html format. If I publish it saves the code inside as well. Is there a figure to html command, that will save it in a file? I'd prefer if with this way I could also determine the resolution with which the image is exported, as it has to be high quality. Also is there a way to make the figure not pop up? When I run my script, I don't want to see the figure poping up every time, but I need it to be saved in the html file.
Unfortunately the manual solution isn't an option for me, otherwise it be very easy. The reason is that I need to add this in an automated function, where the html file is constantly replaced by the new file.
Thanks a lot for your time. Any help is more than welcome :)
  1 Commento
George
George il 30 Ago 2016
Can you export the figure as an image file and have the html file reference that?

Accedi per commentare.

Risposte (1)

Ixxat
Ixxat il 30 Ago 2016
To make the figure not pop up be sure to put a semi-colon (;) at the end of the line
If you don't absolutely have to have the figure in html, you could export to jpeg, paint etc. In the figure pop up window, select file, Export Setup then Export

Categorie

Scopri di più su Printing and Saving in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by