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

1 回表示 (過去 30 日間)
robert menke
robert menke 2017 年 3 月 7 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
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