Save Gui Panel to pdf file

6 Ansichten (letzte 30 Tage)
Ben
Ben am 23 Mär. 2018
Beantwortet: Walter Roberson am 23 Mär. 2018
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 Kommentare
Walter Roberson
Walter Roberson am 23 Mär. 2018
Have you tried export_fig from the file exchange?
Ben
Ben am 23 Mär. 2018
Bearbeitet: Ben am 23 Mär. 2018
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.

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 23 Mär. 2018
Have you tried export_fig from the file exchange?

Weitere Antworten (0)

Kategorien

Mehr zu Environment and Settings finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by