Clear Filters
Clear Filters

How to fetch float data from arduino pro mini to MATLAB in real time?

2 views (last 30 days)
Hello,
I have created some circuits with arduino pro mini (ATMEGA 328P) and it makes some calculations and create a 2*1 matrix . The data type of the elements of matrices are floats. I need to get these values and plot in a scatter plot in real time using MATLAB. But when i'm reading the arduino serial data from com port, it does not fetch the data correctly. It just show some garbage values.
Can anybody guide me through the correct process?
thank you.

Answers (0)

Categories

Find more on MATLAB Support Package for Arduino Hardware in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!