<< return to Pixycam.com

Pixy2 with matlab/simulink

Hi, is there anyway to connect Pixy2 with MATLAB/Simulink? i want to get the X & Y values on Matlab/Simulink so i can use them.
thank you.

Hi, we don’t provide official support for this, but some users have gotten it working: Simulink S-function for Reading Pixy Outputs in Arduino

We do provide a porting guide as well: https://docs.pixycam.com/wiki/doku.php?id=wiki:v2:porting_guide

Hope this helps!

Cheers,
Jesse

actually it does not work

OK, sorry to hear that!

Looks like there is a way to do this with Lego Mindstorms: https://www.mathworks.com/help/supportpkg/legomindstormsev3/ref/track-colored-objects-pixy2-example.html

But beyond that I’m not aware of any other methods.

actually, you have to use lego mindstorm brick to connnect it, it can’t be connected using only arduino board

& i don’t have lego mindstorm brick

Correct. That’s all the solutions I’m aware of, unfortunately! Please let us know if you figure something out.