Info

This question is closed. Reopen it to edit or answer.

Memory leak. Using Matlab library in Visual studio 2010

1 view (last 30 days)
Ivan
Ivan on 2 Dec 2014
Closed: Sabin on 10 Feb 2023
Hi,
I have some problems when I use Matlab (R2012b (64-bit)) (also I used R2014a (64-bit) with the same result) library in Visual studio 2010.
I create function in Matlab:
function y = foo(x)
y = x+1;
and compiled *.dll and *.lib C shared libraries. When I integrated this libraries in to my VS2010 project I received memory leak errors. For example:
How I can resolved this problem ? Help me please.
  1 Comment
Geoff Hayes
Geoff Hayes on 2 Dec 2014
How have you compiled the ell and lib libraries using (presumably) this function? How do you call foo from within your C code?

Answers (0)

Community Treasure Hunt

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

Start Hunting!