0 Replies Latest reply on Dec 6, 2018 3:01 AM by andrew.fielding

    Realsense D435 Matlab wrapper

    andrew.fielding

      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();