finding particular cell in cell array
- From: "Wiater" <wiater@xxxxxxxxxxxxxx>
- Date: Wed, 8 Jul 2009 00:12:37 +0200
Hi everyone!
How to find a string value in cell array, and remove it?
I have a problem with cell array... I'm writing an aplication in GUI with 3 pop-up menus.
the 'string' values of the first pop-up menu is for example:
{'alfa ';'beta';'gamma';'delta';'omega'}
now, I'd like to choose one of the options (alfa, beta, gamma, delta, omega) and automaticly remove it from the second pop-up menu. The same thing with third pop-up menu.
e.g.:
1st popup menu:
{'alfa ';'beta';'gamma';'delta';'omega'}
choise: 'beta'
2nd popup menu:
{'alfa ';'gamma';'delta';'omega'}
choise: 'omega'
3rd popup menu:
{'alfa ';'gamma';'delta'}
I've been trying with something like that:
2ndarray=(1starray=='beta'); <--- the way I'd do it in case of simple array of numbers... but it doesnt work with cell arrays
.
- Follow-Ups:
- Re: finding particular cell in cell array
- From: Nathan
- Re: finding particular cell in cell array
- Prev by Date: two problems with bar graphs
- Next by Date: Re: two problems with bar graphs
- Previous by thread: two problems with bar graphs
- Next by thread: Re: finding particular cell in cell array
- Index(es):
Relevant Pages
|