I have used the code written by Dirk Jan Kroon to get images from Kinect using Matlab. This code has a bug in it. It saves images but to get another image I have to restart Matlab. Is there any solution to it?
Plus, now it also gives me error while compiling. The error is as follows: Error using mex (line 206) Unable to complete successfully.
Error in compile_cpp_files (line 47) mex('-v',['-L' MicrosoftSDKPathLib],'-lMSRKinectNUI',['-I' MicrosoftSDKPathInclude],Filename);
And then it gives error in mxMSCreateContext when i try to run it. The error it gives is as follows:
Error using mxMSCreateContext Kinect Initialization Failed
Error in Example (line 6) KinectHandles=mxMSCreateContext([2 1]);