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

1 view (last 30 days)
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)

Categories

Find more on Migrate GUIDE Apps in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!