octave-maintainers
[Top][All Lists]
Advanced

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

Nd cell array


From: Philipp.Batchelor
Subject: Nd cell array
Date: Thu, 04 Mar 2004 12:21:35 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113

Hi,

sorry, trying to reformulate, I posted to help-octave, maybe it is more for this list.

I am trying to read 3d volume data using another c++ library (vtk), and load it into Octave, I thought I would return a cell array,
i.e. in an *.m file, the syntax would correspond to

for slice = 1:n
  volume{slice} = ...% some 2d array, say a Matrix
  ...etc

but I can't work out what the syntax in C++ would be.
How would I create an array with say 128 elements which are each a 2D Matrix, and assign to elements, (and return this cell array) in a dynamically loadable C++ file?

Ph. Batchelor



reply via email to

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