Arduino with Matlab

hi,

I wanted to import data (type float) from my arduino into matlab and plot a graph with it.

I tried the "serial" command in matlab but its slow and a bit too complicated for me...the buffer and all...

Can you please help me on this...or direct me to some useful sites.

I tried the "serial" command in matlab but its slow and a bit too complicated for me...the buffer and all...

Since the only way that the Arduino has of talking to the outside world it through the serial port, it appears that you are SOL.

Unless, of course, there was something wrong with how you are converting the float value to serial data, and/or how you were converting the serial data back to a float on the other end, and/or your expectations of how fast you would be able to do this, and/or you reasoning behind sending floats.

The Arduino doesn't do floats. It's input comes from digital pins, which are either off or on, analog pins, which is integer data in the range of 0 to 1023, serial data, which is all bytes, or I2C or SPI, which is also byte oriented.

Perhaps the solution to your problem is a simple as sending integer data and have matlab perform the conversion to a float, rather than having the Arduino performing the conversion and sending the float.