473,320 Members | 1,961 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

mxFree

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?

Jun 20 '06 #1
5 1820
dk*******@gmail.com wrote:
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.
Jun 20 '06 #2
dk*******@gmail.com writes:
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.

--
Ioan - Ciprian Tandau
tandau _at_ freeshell _dot_ org (hope it's not too late)
(... and that it still works...)
Jun 20 '06 #3
Nelu <sp*******@gmail.com> wrote:
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...

--
Christopher Benson-Manica | I *should* know what I'm talking about - if I
ataru(at)cyberspace.org | don't, I need to know. Flames welcome.
Jun 20 '06 #4
Christopher Benson-Manica <at***@norge.freeshell.org> writes:
Nelu <sp*******@gmail.com> wrote:
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...


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.

--
Ioan - Ciprian Tandau
tandau _at_ freeshell _dot_ org (hope it's not too late)
(... and that it still works...)
Jun 20 '06 #5
dk*******@gmail.com wrote:
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

--
---------------------------------------------------------------------------
Home of Martin Jørgensen - http://www.martinjoergensen.dk
Jun 20 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: dkumar142 | last post by:
Hello frnds, I have a question. I know answer is quite easy but i think i am missing some poiter or something..somewhere. I have to define an array of string char **s_array1; now i have...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.