| MATLAB Central > MATLAB Newsreader > How to get gcf in base workspace from a GUI |
|
|
|
Subject: How to get gcf in base workspace from a GUI From: Yoshi Date: 9 Jul, 2009 21:58:01 Message: 1 of 9 |
|
Hello, |
|
Subject: How to get gcf in base workspace from a GUI From: Matt Fig Date: 9 Jul, 2009 22:21:01 Message: 2 of 9 |
|
I am not sure I understand what you want to do. If MATLAB is executing inside a GUI callback, then the current figure is the GUI no matter what figure was selected before the callback was called. I.e., by clicking on a uicontrol in the GUI, that GUI figure is made current. |
|
Subject: How to get gcf in base workspace from a GUI From: Yoshi Date: 9 Jul, 2009 22:36:04 Message: 3 of 9 |
|
How stupid am I... That makes sense. Thanks very much for your answer. |
|
Subject: How to get gcf in base workspace from a GUI From: Matt Fig Date: 9 Jul, 2009 22:45:04 Message: 4 of 9 |
|
"Yoshi " <matlab.20.yhidaka@9ox.net> wrote in message |
|
Subject: How to get gcf in base workspace from a GUI From: Yoshi Date: 10 Jul, 2009 14:37:01 Message: 5 of 9 |
|
Thanks for your kind follow-up! That'll make me feel a lot better. |
|
Subject: How to get gcf in base workspace from a GUI From: Steven Lord Date: 10 Jul, 2009 16:49:12 Message: 6 of 9 |
|
|
|
Subject: How to get gcf in base workspace from a GUI From: Matt Fig Date: 10 Jul, 2009 16:56:03 Message: 7 of 9 |
|
"Steven Lord" <slord@mathworks.com> wrote in message |
|
Subject: How to get gcf in base workspace from a GUI From: Matt Fig Date: 10 Jul, 2009 17:05:19 Message: 8 of 9 |
|
I did figure out how you could do what you wanted to do originally. Try this: |
|
Subject: How to get gcf in base workspace from a GUI From: Yoshi Date: 10 Jul, 2009 17:33:02 Message: 9 of 9 |
|
Matt, |
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.
| Tag Activity for This Thread | ||
|---|---|---|
| Tag | Applied By | Date/Time |
| gui gcf workspace | Yoshi | 9 Jul, 2009 17:59:03 |
