Printing a GUI, text is not printed when the GUI figure is invisible

I have a problem when printing the contents of a GUI. I used a GUI to present several graphs en texts in one figure, and then export this to a png file.
This works nicely, but ONLY if I set the GUI figure to visible, as in: h = testgui('visible', 'on'). testgui being the name of the gui I made
If I set the gui figure visibility to 'off', the gui data is not exported completely. The graphs are there, but the texts are all missing.
As I am making a lot of figures and it takes a lot of time, it is necessary that these plots are made on the background (invisible).
Is this a bug, or am I missing some setting that I should apply? Any help appreciated! Matlab version 2012a

Answers (0)

Products

Asked:

on 16 Oct 2013

Edited:

on 16 Oct 2013

Community Treasure Hunt

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

Start Hunting!