[Top][All Lists]

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

Re: Octave engine: any update?

From: Michael Goffioul
Subject: Re: Octave engine: any update?
Date: Wed, 15 May 2013 07:01:52 -0400

On Wed, May 15, 2013 at 4:56 AM, MrOba <address@hidden> wrote:
mmm.. I`m trying to keep it simple..

How do I create a mxArray?

Let`s say in Octave I have a matrix A =  [1, 2; 3, 4] and I'd like to store
this data as mxArray and have a function with the matrix name as parameter
and that return a pointer to this mxArray. Is this possible? or am I missing

You should read documentation about the MEX API. Have a look at mxCreateDoubleMatrix and mxGetPr.


reply via email to

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