フィルターのクリア

Export figure to html

22 ビュー (過去 30 日間)
Omiros Tsioumplektsis
Omiros Tsioumplektsis 2016 年 8 月 27 日
回答済み: Ixxat 2016 年 8 月 30 日
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 件のコメント
George
George 2016 年 8 月 30 日
Can you export the figure as an image file and have the html file reference that?

サインインしてコメントする。

回答 (1 件)

Ixxat
Ixxat 2016 年 8 月 30 日
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

カテゴリ

Help Center および File ExchangePrinting and Saving についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by