From: Matt J on
"Chris " <ridered300tr(a)hotmail.com> wrote in message <hneolt$jaq$1(a)fred.mathworks.com>...
> I am trying to view my structure array but matlab just returns:
>
> str =
>
> 1x9 struct array with fields:
> name
> boss
>
> how can I see the values?
> Thanks

For example,

>> s(1).name='Fred Flinstone'; s(1).boss='Mr. Slate'; s(2).name='George Jetson'; s(2).boss='Mr. Spacely'

s =

1x2 struct array with fields:
name
boss

>> s.name,

ans =

Fred Flinstone


ans =

George Jetson


>> s.boss,

ans =

Mr. Slate


ans =

Mr. Spacely