Items with no label
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
3338 Discussions

Loading settings from .json file in MATLAB

JBos3
New Contributor I
2,737 Views

Does anyone know how to write stereo module settings to a D435 in MATLAB? I can edit and save settings to a .json file using the RealSense Viewer.exe. I would then like to use these settings while controlling the RealSense camera in MATLAB. Reading the .json file into MATLAB is simple, but it is not clear how to write the parameters to the RealSense camera. Thanks!

0 Kudos
1 Solution
MartyG
Honored Contributor III
1,786 Views

The natural way to write a configuration would be via the camera's Advanced Mode. This would be easiest using the SDK's MATLAB wrapper for Windows 10. It was stated a couple of weeks ago though that the wrapper does not yet support Advanced Mode access from MATLAB.

https://github.com/IntelRealSense/librealsense/issues/2686#issuecomment-452445958

You could certainly write settings outside of the RealSense Viewer with an ordinary non-wrapper SDK script though.

https://github.com/IntelRealSense/librealsense/blob/02aeec770d23b3f8a364f1800e3c5faaaa7d0482/doc/rs400_advanced_mode.md?language=en_US

View solution in original post

0 Kudos
1 Reply
MartyG
Honored Contributor III
1,787 Views

The natural way to write a configuration would be via the camera's Advanced Mode. This would be easiest using the SDK's MATLAB wrapper for Windows 10. It was stated a couple of weeks ago though that the wrapper does not yet support Advanced Mode access from MATLAB.

https://github.com/IntelRealSense/librealsense/issues/2686#issuecomment-452445958

You could certainly write settings outside of the RealSense Viewer with an ordinary non-wrapper SDK script though.

https://github.com/IntelRealSense/librealsense/blob/02aeec770d23b3f8a364f1800e3c5faaaa7d0482/doc/rs400_advanced_mode.md?language=en_US

0 Kudos
Reply