Page 1 of 1

Import data on matlab

Posted: Mon Jan 13, 2020 4:35 am
by GiusB
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!

Re: Import data on matlab

Posted: Mon Jan 13, 2020 10:40 am
by iabdalkader
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.

Re: Import data on matlab

Posted: Tue Jan 14, 2020 4:31 am
by GiusB
Otherwise is it possible to connect the camera with an arduino system and process this data?

Re: Import data on matlab

Posted: Tue Jan 14, 2020 6:19 am
by iabdalkader
GiusB wrote:
Tue Jan 14, 2020 4:31 am
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.