Clear Filters
Clear Filters

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

3 views (last 30 days)
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.

Answers (0)

Categories

Find more on Arduino Hardware in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!