Items with no label
3335 Discussions

Realsense D435 Matlab wrapper

AFiel1
Beginner
1,321 Views

I am using the new MATLAB wrapper for streaming depth frames from the RealSense D435, essentially using the example script. I am wondering how one changes acquisition parameters from within the MATLAB script e.g. frame rate. This is more of a syntax question really about the arguments for the enable_stream() function. From the config.m script I know that there can be between 2 to 7 arguments including the stream required e.g. depth, infrared or rgb, the format e.g. z16, height and width, and frame rate?

cfg = realsense.config();

%Parameters

nframes=100; % number of frames

height = 480;

width = 640;

% Enable stream(s) and set parameters, height, width, and framerate

cfg.enable_stream();

0 Kudos
0 Replies
Reply