This works great, but only with the default [imageres depthres] values in line 5 of the Example.m file. Any other value (say [2 2] instead of the default [2 1]) makes the corresponding initialization fail.
That is, I'd like to get 640x480 depth data (and reduce the video stream to 320x240 if bandwidth becomes an issue). But it gives me a 'Depth Sensor Initialization Failed' error (Line 105 of mxMSCreateContext.cpp). Any ideas how to fix this?