How can I clear the RAM memory used by MATLAB without closing the window?
Show older comments
Hello everybody, I need your help!
I am using MATLAB and the Kinect for Windows to acquire the skeletal data and everything is going fine. However, after a while, I get an error due to insufficient free RAM memory. The acquisition is stopped and I try everything to clear the memory: clear, clear all, clearvars -global, close all, but nothing works - the memory is not cleared and I can't acquire more data.
Can anybody tell me a command to clear the RAM memory without closing the window?
Thank for your attention. Best regards.
2 Comments
Juan Reyes
on 12 Jun 2018
Hello André, Did you find the solution? I'm having kind of the same problem here. Thank you!
Adhiti Raman
on 21 Jul 2018
I'm having the same issue. Did either one of you find out how to fix this?
Accepted Answer
More Answers (1)
Adhiti Raman
on 23 Jul 2018
Edited: Adhiti Raman
on 23 Jul 2018
1 vote
So I fixed this error by running imaqreset at the start of my code.
Categories
Find more on Acquisition Using Kinect for Windows Hardware in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!