Thread Subject: value of popup menu in GUI not getting cleared

Subject: value of popup menu in GUI not getting cleared

From: aashay vanarase

Date: 1 Apr, 2010 14:02:37

Message: 1 of 2

I hav a GUI in which the user chooses a folder and accordingly a popup menu is generated showing all the files in the folder...

my prog is running perfectly fine for the first execution cycle,when 'value' handle returned is a double...

the problems start when choose another folder, for now the value returned is a cell of structures containing the previous handle and the new handle.. so i cant use it directly...

i tried clearing but it didnt show any response... also i found the length of the cell and tried using only the last value, but those commands show an error as in the first case value was not a cell but a double and commannds dont correspond..

i guess the bestscenario would be if i can just clear the value every time the folder is selected using pushbutton..so can anyone please tell me what i'm doing wrong

Subject: value of popup menu in GUI not getting cleared

From: aashay vanarase

Date: 2 Apr, 2010 04:58:06

Message: 2 of 2

i also noticed the same thing is happenin to my string..my string is the list of all files in the choosen folder

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

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 aashay vanarase 1 Apr, 2010 10:04:18
popup menu aashay vanarase 1 Apr, 2010 10:04:18
rssFeed for this Thread

Contact us at files@mathworks.com