From: Walter Roberson on
"pedro moreno" <pjmf17(a)hotmail.com> wrote in message <i2knsa$ba1$1(a)fred.mathworks.com>...
> Well, actually I don't understand very well the responses..

Instead of just re-posting exactly the same question, perhaps you could respond as to why you cannot simply test the color of the button afterwards.
From: pedro moreno on

> So why not just
>
> get(handles.pushbutton2, 'BackgroundColor')
> and test to see if the result is [0 1 0] or not ?

Because I haven't to test the background button, I have to test if user clicked in acept or cancel button, in the previous GUI_2 (this way I choose the colour of background button in GUI_1, and consequently I can inform to the user --> hey user! the config of GUI_2 is ok!), it's not so easy like it looks... But anyway thx Walter