octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: struct arrays and cs-lists


From: Daniel J Sebald
Subject: Re: struct arrays and cs-lists
Date: Mon, 12 Nov 2012 20:29:41 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111108 Fedora/3.1.16-1.fc14 Thunderbird/3.1.16

On 11/12/2012 07: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?

What is the goal structure? Please give some examples with assignment and "class(XYZ)" illustrating the problem?

Dan


reply via email to

[Prev in Thread] Current Thread [Next in Thread]