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일)
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