finding particular cell in cell array



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

.



Relevant Pages

  • Re: PopUp Window from Codebehind
    ... It's not a popup if the user clicked it, ... > Why does my code for a pop-up window from my app not get blocked by IE SP2 ... > (No exceptions have been made in IE's Pop-up blocker settings either) ... > Private Function openNewWindow(ByVal url As String, ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: finding particular cell in cell array
    ... How to find a string value in cell array, ... the 'string' values of the first pop-up menu is for example: ... 1st popup menu: ...
    (comp.soft-sys.matlab)
  • Re: gui - appending text
    ... 'Hello' in a newline in txtBox. ... when you setthe String ... property of a text box or edit box with a char array that has a newline ... Another poster suggested using cell array of strings instead. ...
    (comp.soft-sys.matlab)
  • Re: define string and structure
    ... zeros function is the numeric, not string. ... instead of parentheses, when indexing into the cell array. ... extract a smaller cell from the cell array; ...
    (comp.soft-sys.matlab)
  • Re: Replacing strings with numbers using textscan
    ... and then using strcmp ... I have a file of cell array type that I have read using TEXTSCAN. ... Cis type string and Care of type double ... I would like to sort the rows of the file according to the column ...
    (comp.soft-sys.matlab)