Path: news.mathworks.com!not-for-mail
From: "Geoffroy " <grsabourin@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: mxCreateDoubleMatrix() function
Date: Wed, 30 Sep 2009 16:11:00 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 5
Message-ID: <h9vvuk$qip$1@fred.mathworks.com>
Reply-To: "Geoffroy " <grsabourin@gmail.com>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1254327060 27225 172.30.248.37 (30 Sep 2009 16:11:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 30 Sep 2009 16:11:00 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1783707
Xref: news.mathworks.com comp.soft-sys.matlab:574011


I have created a small interface to transfert data between a C++ program and a Matlab workspace. It is working well but I don't know how to create a 3 dimensional matrix to contain a RGB image. I'am able to create and transfert 2D matrix but not a 3D matrix like Im = zeros ( 10, 10, 10 );

How is it possible to do that?

Thank you