Info

此问题已关闭。 请重新打开它进行编辑或回答。

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

3 次查看(过去 30 天)
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

回答(1 个)

Brandon Eidson
Brandon Eidson 2017-3-13
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!

Translated by