Hi, I have got a problem. I am using Matlab 2009b. the compiler is vs2008 express.（i have vs 2010 professional, but for some reason matlab cannot detect it.）All stuff I installed are 32-bit. I compiled this code. It works fine with the saved data. But I cannot run the Kinect stream. It says
"mage: PrimeSense/SensorKinect/184.108.40.206: Xiron OS failed to connect to a network socket!
??? Error using ==> mxNiCreateContext
After loading .NEF images, the result is an image from a different size than the original and looking somehow redish or pinky... I don't know what I'm doing wrong, there is any working example somewhere?
Haven't used it yet so I can't rate it, but just wanted to comment on the compilation of the C file using mex - you need to make sure you link with libjpeg. Assuming you have libjpeg installed, you should be able to do:
mex -ljpeg readrawc.c
That allowed me to compile with lots of warnings but no errors.