[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: help with interleaved complex data in mex files
From: |
chloros |
Subject: |
Re: help with interleaved complex data in mex files |
Date: |
Tue, 11 Feb 2020 18:17:24 +0100 |
User-agent: |
Evolution 3.34.3 (3.34.3-1.fc31) |
Hi,
move also the statement
plhs[0] = v;
out of the #if clause, otherwise running the code causes an assignment
error.
compiled under windows (R2018): mexfilerequiredapiversion is also
present and the changes between -R2018a and the old api are identical
to what Sebastien already has sent.
best regards
On Mon, 2020-02-10 at 11:00 -0500, John W. Eaton wrote:
> I'm looking at fixing Octave's mex support to handle the new
> interleaved
> complex data that was introduced in a recent version of
> Matlab. Could
> someone compile the attached function with
>
> mex -R2017b myfcn.c
>
> and then run the nm utility on the resulting mex file and then do
> the
> same with
>
> mex -R2018a myfcn.c
>
> and send the results to me? I guess you would need to do this with
> a
> Linux version of Matlab to use nm and version 2018a or newer to use
> the
> -R2018a option for the mex function.
>
> This function is untested, so if there are errors, let me know and
> I'll
> try to fix.
>
> Thanks,
>
> jwe
myfcn.c
Description: Text Data