How can I run RGB and Depth camera fo Intel Realsense Depth 435i in Simulink.
Hi, my name is Jirat. I want to use Intel Realsense Depth 435i for object detection and run it in Simulink. Initially, I was already successful in Matlab and I adapted that code for use in the Matlab function propose to run in Simulink. But the Simulink function couldn't be used because only Matlab files are supported for that code. So, does anyone know how to run Intel Realsense Depth 435i in Simulink?
---------------------------------------------------------------------------------------
This is simple code for in Matlab function trial .
function y = func1(x)
pipe = realsense.pipeline();
y = x;
end
---------------------------------------------------------------------------------------
This is a warning.
Function call resolved to MEX file 'C:\Program Files (x86)\Intel RealSense SDK 2.0\matlab\+realsense\librealsense_mex.mexw64'. Only MATLAB files are supported for code generation. Consider using coder.extrinsic to declare MEX function as extrinsic. Function 'pipeline.m' (#48.283.333), line 10, column 37: "realsense.librealsense_mex('rs2::pipeline', 'new')" Launch diagnostic report.
-
Hi Stafangagkub There has only been one previous case (in the link below) in December 2021 about using RealSense with a Simulink S-function and it did not have a clear solution at its outcome.
Please sign in to leave a comment.
Comments
1 comment