Kinect near mode problem on matlab

Dear all,
I'm working on kinect on Matlab, it work well but i need to let it work in near mode i do the following
% Create the object for the depth sensor
vid = videoinput('kinect',2);
src = vid.Source;
src.DepthMode='Near';
then use preview command
preview (vid);
matlab give error: matlab can not open depth sensor
if any any body can help i will thankful for you

Answers (1)

if you are using kinect for xbox 360, the near mode, and the IR stream wont be available, i think that those features are reserved for the kinect for windows v1

Asked:

on 9 Dec 2013

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!