Is there a good way of detecting memory leaks in a mex file?

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?

카테고리

도움말 센터File Exchange에서 Write C Functions Callable from MATLAB (MEX Files)에 대해 자세히 알아보기

제품

질문:

2013년 8월 1일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by