필터 지우기
필터 지우기

How can I adjust Matlab Arduino baud rate connection using Matlab to communicate with I2C?

조회 수: 3 (최근 30일)
I am using the Arduino Package on Matlab. I am having trouble reading data from FIFO registers due to the data being overflowed in the stack. Matlab is processing my code in seconds but i would like to read from the FIFO registers in ms. Also if you know how i can look at how long it takes for my code to run, please let me know.
E.g iterate = 0;
while iterate <= 50
x = readRegister(MPU9250, register, 'uint8')
MPU(iterate,:) = [x];
end
the code above is running in seconds, how i can speed it up to run in ms.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Arduino Hardware에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by