Azzera filtri
Azzera filtri

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

3 visualizzazioni (ultimi 30 giorni)
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.

Risposte (0)

Categorie

Scopri di più su Arduino Hardware in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by