Saving a figure in GUI
이전 댓글 표시
On executing some GUI code i am getting a figure.If the user closes the image he/she is asked whether he/she needs to save the image. if the user answers as yes i should save the image in user selected location.How to do this.
Please help
Thanks in advance
답변 (1개)
ES
2013년 9월 3일
0 개 추천
get the handle of the figure and do a saveas call.
eg: saveas(h,'filename','format')
format can be any image format or pdf etc.
카테고리
도움말 센터 및 File Exchange에서 Lighting, Transparency, and Shading에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!