Info

This question is closed. Reopen it to edit or answer.

hello i have programmed two ir switches to measure velocity using the arduino uno and have used the arduino coding to calculate my velocity. I am trying to link this velocity as input into matlab so i can graph the results, how do i link this

1 view (last 30 days)
I have coded the Arduino to measure velocity and I want to have this linked to matlab so I can graph the results. does anyone know how to link this velocity as input for matlab. I know how to take voltage outputs from Arduino into matlab but I don't know how to have the velocity values sent to matlab. any information would be helpful

Answers (1)

Brandon Eidson
Brandon Eidson on 13 Mar 2017
Hello Robert, I would recommend reading about the MATLAB Support Package for Arduino Hardware and the Simulink Support package for Arduino Hardware. Either will allow you to read in data from an Arduino, though you may need to output the velocity on one of the Arduino's output ports.
Please read and apply whichever fits best with your use case.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!