Save Gui Panel to pdf file

조회 수: 6 (최근 30일)
Ben
Ben 2018년 3월 23일
답변: Walter Roberson 2018년 3월 23일
I know there already exist some threads on this topic, but non of them appear to be helping me.
I need to take high resolution images of my Matalb GUI which consists of multiple panels. When saving the main GUI figure as follows:
print(handles.mainfig, '-dpdf', 'Filename.pdf')
an empty file is created. I am not sure if it has something to do with the way the panels are implemented. It is not possible to directly refer to to the panels because these objects are not figures.
Kind regards
Ben
  댓글 수: 2
Walter Roberson
Walter Roberson 2018년 3월 23일
Have you tried export_fig from the file exchange?
Ben
Ben 2018년 3월 23일
편집: Ben 2018년 3월 23일
This works very well, thank you very much! Maybe repost your input as answer, so I can give you credit and then close the question.

댓글을 달려면 로그인하십시오.

채택된 답변

Walter Roberson
Walter Roberson 2018년 3월 23일
Have you tried export_fig from the file exchange?

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Environment and Settings에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by