A MATLAB wrapper for the RealSense SDK 2.0 is currently being worked on by the RealSense development team, which should make using the 400 Series cameras with MATLAB much easier. The most recent estimate of a release schedule for this on June 27 was in 'a couple of sprints' (sprints being terminology for development time-cycles).
So as the SDK tends to get updated roughly every couple of weeks, I would estimate that 'a couple of sprints' after June 27 might be the update after next, maybe around end July / start August. That's by no means an official date though .... "it's here when it's here" is probably better.
Regarding capturing all frames with the RealSense Viewer: the Viewer can record frames into a file type called a 'rosbag'. Bear in mind though that the resultant file can be very large, with some reporting file sizes in the range of 20 GB. On the link below, scroll down to the heading 'Record and playback in RealSense Viewer'.
Thank you for your prompt reply.
I understand that soon RealSense SDK will soon include MATLAB wrapper.
Though, in case I would like to try some basic and simple function such as reading Depth image into a numeric matrix (preferably with MATLAB but not mandatory) is there any simple method to read the raw image and rosbag file?
Is there an option to record (and later read) Disparity file?
There's no fresh news yet about the MATLAB wrapper. There have been some interesting discussions about MATLAB on this forum during the past month though.
I recently downloaded the intel RealSense SDK 2.0 and I got a checkbox during installation for MATLAB stuff that I ticked. I got some MATLAB files which seem like classes to make different kinds of objects. However, since I am really new to this, I was wondering if there is some examples/documentation I could look at to operate the RealSense camera entirely in MATLAB and gather data in matrix form for 3d point cloud (I am interested in depth as well). I basically want it to update data regarding depth,etc. in a matrix in MATLAB in realtime. Any help towards achieving this including sample code is much appreciated!
The documentation for the MATLAB wrapper is a bit slim at the moment, as the wrapper was introduced only recently. It contains the setup instructions and a simple example for displaying a depth frame.
If you would prefer to access data in MATLAB more directly though, on the page linked to below there is a MATLAB function that can be downloaded that converts a depth image to a point cloud in MATLAB. Scroll down the page to the heading titled 'Depth Image to Point Cloud (MATLAB)' and click on the 'depthToCloud.m' link to launch its download in your browser.