Hi, my name is Jirat. I want to use Intel Realsense Depth 435i for object detection and run it in Simulink. This device doesn't have any hardware support in Add-ins but it has developed code for use Realsense's product in Github. 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?
---------------------------------------------------------------------------------------
Github link
https://github.com/IntelRealSense/librealsense/releases/tag/v2.50.0
---------------------------------------------------------------------------------------
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.