Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB inverts colors in uicontrol objects

Asked by Zoltán Csáti on 15 Sep 2013

I wrote a GUI application but my problem is that when I save the figure programatically using the saveas command, colors of the uicontrol objects seem to be inverted. The MATLAB Documentation says that inversion only applies to figures, not uicontrols. But here it is not the case. Does anybody have an idea?

Thanks,

Zoli

9 Comments

Sean de Wolski on 16 Sep 2013

should be 'off' instead of 'false'

Walter Roberson on 16 Sep 2013

Sorry try 'off' instead of 'false'

Zoltán Csáti on 16 Sep 2013

I tried it but failed. I mean the colour of the uicontrol objects were converted to light green instead of grey. Could you please try my saveAs function on your machine with a custom figure with a pushbutton on it? Perhaps you will exactly know what I'm thinking of. Thank you for your help so far.

Zoltán Csáti

Products

0 Answers

Contact us