[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Arrays of structures question
From: |
Abe Taha |
Subject: |
Arrays of structures question |
Date: |
Mon, 14 Jan 2002 23:03:30 -0500 (EST) |
I am new to octave and am having a slight problem running an old Matlab
code.
The offending lines are
for i=1:nBC
nodeNum = nodebcs(i).num;
end;
where nodebcs is a vector of structs, each having num, x, and y as
members. When I run the code, Octave prints out
can't perform indexing operation for struct type
Any help is appreciated.
Thanks.
--
Abe
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------