The object creation code: vid = videoinput('kinect',1,'RGB_640x480');
creates the object for the color device. The skeleton Tracking properties shown are on the Depth device. So, the object should be created for the depth object instead,as shown below: vid = videoinput('kinect',2);
Best Answer