[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: struct arrays and cs-lists
From: |
Ben Abbott |
Subject: |
Re: struct arrays and cs-lists |
Date: |
Tue, 13 Nov 2012 09:11:44 -0500 |
On Nov 12, 2012, at 8:55 PM, Jordi Gutiérrez Hermoso wrote:
> I don't really understand why if s is a struct array with field foo,
> then "s.foo" is a cs-list. What's the purpose of this? How can you get
> something like a cell array instead without something as roundabout as
> resize(size(s), {s.foo})? Does it have to be this way, is there
> something else we can do instead?
>
> - Jordi G. H.
I thought structures were introduced prior to cell-arrays and that cs-lists
originally described the result of s.foo (all member have the same class).
Cell arrays were first introduced in Matlab 5.
Ben
- Re: struct arrays and cs-lists, (continued)
- Re: struct arrays and cs-lists, Olaf Till, 2012/11/13
- Re: struct arrays and cs-lists, Jordi Gutiérrez Hermoso, 2012/11/13
- Re: struct arrays and cs-lists, John W. Eaton, 2012/11/13
- Re: struct arrays and cs-lists, Olaf Till, 2012/11/13
- Re: struct arrays and cs-lists, Olaf Till, 2012/11/13
- Re: struct arrays and cs-lists, Jordi Gutiérrez Hermoso, 2012/11/13
Re: struct arrays and cs-lists,
Ben Abbott <=