Why am I unable to delete MEX functions from memory using the CLEAR MEX command?

4 views (last 30 days)
I am using MEX functions in my MATLAB code. However, when I try to clear the functions from MATLAB's memory using CLEAR MEX, I still see them using the INMEM function.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 22 Jan 2010
This will occur if the MEX code has memory leaks. To resolve this issue, debug the MEX code and be sure there are no memory leaks.
For more information about debugging MEX files, see the technical note 1605:
<http://www.mathworks.com/support/tech-notes/1600/1605.html>

More Answers (0)

Categories

Find more on MATLAB Compiler in Help Center and File Exchange

Tags

No tags entered yet.

Products

Community Treasure Hunt

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

Start Hunting!