필터 지우기
필터 지우기

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 CenterFile Exchange에서 Printing and Saving에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by