Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

New to MATLAB?

Thread Subject:
Kinect Microsoft sdk by Dirk Jan Kroon

Subject: Kinect Microsoft sdk by Dirk Jan Kroon

From: kainat ali

Date: 5 Mar, 2013 06:05:15

Message: 1 of 1

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'

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]);

Any help in this regard would be appreciated.

Thank you.

Tags for this Thread

No tags are associated with this thread.

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us