Is there a good way of detecting memory leaks in a mex file?
Show older comments
I have a mex file that seems to be leaking memory. I only use one malloc, and this is definitely freed. Is there a good way to detect where the leak is coming from, such as a recommended debugging tool?
Answers (1)
Febin Benjamin
on 1 Aug 2013
0 votes
check this link... may be you'l find something.... http://help.mworks-project.org/discussions/problems/53-memory-leak-in-mex-functions
Categories
Find more on Write C Functions Callable from MATLAB (MEX Files) in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!