mxFree

D

dkumar142

from a mex file i am getting four arrays as output.
should i use mxFree for them at the end of the code...or i shouldn't do
that becuase it is returning them!!

i think is shouldn't free them!! what do you think?
 
C

Christopher Hulbert

from a mex file i am getting four arrays as output.
should i use mxFree for them at the end of the code...or i shouldn't do
that becuase it is returning them!!

i think is shouldn't free them!! what do you think?

This is a matlab question and should be posted to comp.soft-sys.matlab.
 
N

Nelu

from a mex file i am getting four arrays as output.
should i use mxFree for them at the end of the code...or i shouldn't do
that becuase it is returning them!!

i think is shouldn't free them!! what do you think?

Please quote context when posting a follow up so people who don't use
the Google Groups interface can tell what you are refering to.

Thank you.
 
C

Christopher Benson-Manica

Nelu said:
Please quote context when posting a follow up so people who don't use
the Google Groups interface can tell what you are refering to.

Fine advice, but OP seemed to be beginning a new thread, leaving no
context to quote...
 
N

Nelu

Christopher Benson-Manica said:
Fine advice, but OP seemed to be beginning a new thread, leaving no
context to quote...

There was another post about mxFree earlier and I thought it was the
same one. I guess I was fooled by the the way the post was written.
 
?

=?ISO-8859-1?Q?Martin_J=F8rgensen?=

from a mex file i am getting four arrays as output.
should i use mxFree for them at the end of the code...or i shouldn't do
that becuase it is returning them!!

i think is shouldn't free them!! what do you think?

I think you should only mxfree it if you used something like mxmalloc,
but I'm not that much into it. Couldn't be so hard to find out - just
try it and see if it crashes and you can also see how much memory is spend.


Best regards
Martin Jørgensen
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,184
Messages
2,570,973
Members
47,529
Latest member
JaclynShum

Latest Threads

Top