Go Down

Topic: displaying arduino current sensor values in matlab (Read 432 times) previous topic - next topic

aryan007

I have a current sensor connected to my arduino board displaying current values in the arduino serial monitor. Now I want to display the same values in matlab. How do I proceed???  I have established connection between my arduino board and matlab. Here is the starting code.
Any help would be appreciated.

Code: [Select]

global a;

a=arduino('COM3');

av=a.analogRead(14); //corresponds to analog pin0 on arduino board

PaulS

Quote
av=a.analogRead(14); //corresponds to analog pin0 on arduino board

Why not use 0 when you mean 0?

Go Up