octave-maintainers
[Top][All Lists]
Advanced

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

struct arrays and cs-lists


From: John W. Eaton
Subject: struct arrays and cs-lists
Date: Tue, 13 Nov 2012 00:02:20 -0500

On 12-Nov-2012, 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?

I don't see that we can do anything else if we want to preserve Matlab
compatibility.

jwe


reply via email to

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