help needed for a grep in a multidimensional struct array

Gianluca Antonelli antonelli1970 at gmail.com
Thu Feb 11 13:01:09 CET 2010


Hi,

I have the following problem.

I have the following variable:

slot  =

30x5x10 struct array with fields:
    modulo
    cdl

I need to find all the indexes for which the field cdl matches a
specific grep command.

I would like to know if is it possible to have a function such as:

out = grep(slot.cdl, "abc")

Any hint?

Thanks in advance,
g.



More information about the users mailing list