From: Kara Charaziak on
"James Tursa" <aclassyguy_with_a_k_not_a_c(a)hotmail.com> wrote in message <i02k78$sbt$1(a)fred.mathworks.com>...
> "Kara Charaziak" <pink03(a)o2.pl> wrote in message <i02i7g$g56$1(a)fred.mathworks.com>...
> >
> > I will try the CELL option (I need to read more about it first), but coming back to the string issue - the string values need to be added much earlier (I mean the function that generates the data need to give such combine matrix - numeric+string and then the loop I showed here will merge matrices generated by the function). So the strings cannot be added as the last step.
> > is sth like that even possible?
>
> For multiple strings you want to keep track of, each potentially a different length, a CELL approach is usually best. It will definitely be worth your while to learn about cell arrays.
>
> James Tursa

Thanks!
cells are not as complicated to deal with as I expected! it make my life much more easier!
everything seems to work so far. thanks to all for help!