Import data on matlab

Hello,

I wrote a program that allows me to identify the yellow color and see the position of the center of the box (surrounding it) in real time.

I can read the coordinates of the center in pixels from the terminal,
is it possible to pass these values on matlab/simulink directly?

Thank you!

I don’t have much experience with matlab, but if you can open a serial port in matlab you should be able to read those values, also try searching the forums you should find some posts about matlab and openmv.

Otherwise is it possible to connect the camera with an arduino system and process this data?

Yes, see the Arduino examples in the IDE menu.