| MATLAB Central > MATLAB Newsreader > GUI Programming: clf vs. visible off for "... |
|
|
|
Subject: GUI Programming: clf vs. visible off for "next page" From: Rachel Laughs Date: 9 Nov, 2009 22:31:03 Message: 1 of 6 |
|
My GUI that I am creating (not using GUIDE) has a large panel to encompass all the other components in the figure window. |
|
Subject: GUI Programming: clf vs. visible off for "next page" From: Rachel Laughs Date: 9 Nov, 2009 23:03:03 Message: 2 of 6 |
|
Hm. So I guess "clf" won't work if I want to recall the choices selected from the popup menu. |
|
Subject: GUI Programming: clf vs. visible off for "next page" From: Matt Fig Date: 10 Nov, 2009 01:24:02 Message: 3 of 6 |
|
There are several ways of handling this problem, and it will somehow depend on the way your are storing your handles. One approach could be through the use of cell arrays to store the handles, as in this simple example: |
|
Subject: GUI Programming: clf vs. visible off for "next page" From: Rachel Laughs Date: 10 Nov, 2009 16:20:18 Message: 4 of 6 |
|
"Matt Fig" <spamanon@yahoo.com> wrote in message <hdafbi$dp7$1@fred.mathworks.com>... |
|
Subject: GUI Programming: clf vs. visible off for "next page" From: Rachel Laughs Date: 10 Nov, 2009 16:33:02 Message: 5 of 6 |
|
Also, I tried to get the same result by grouping by expanding the structure to a [1 2], which totally failed, haha! This is what I ran: |
|
Subject: GUI Programming: clf vs. visible off for "next page" From: Matt Fig Date: 10 Nov, 2009 16:40:19 Message: 6 of 6 |
|
Add these lines right before setting the S.pb callback. |
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 | Rachel Laughs | 9 Nov, 2009 17:34:06 |
Contact us at files@mathworks.com
