I have running an executable file using the "dos" command. This file is a compiled .lua file doing some calculations :
for i = 1:n
When doing so, the memory is not freed after each iteraction, and at some point it saturates. Clearing workspace, or even quiting matlab does not free the memory either. I have to restart the computer.
I checked that when running the .exe directly in a dos cmd terminal, the problem does not occur.
I am working on 2015a, windows 7 64-bits.
Anyone has an idea of what is going on ?
Thanks a lot in advance.