Hello,
I'm looking for a code that will enable to send data from analog inputs to MATLAB, but main problem is to not define number of inputs in the arduino code. I've got it once but I lost it...
The code had only view lines and it enables to read every input by defining its number only in MATLAB code by:
b=a.analogRead(0);
c=a.analogRead(1);
...
d=a.analogRead(5);
It worked but really I can't find again now.
I'm using Arduino Package for MATLAB and port comunication.
Please help