Code to access Arduino interface between MATLAB using Psychtoobox IOPort function.
- MATLAB : probalby version superior to R2012b, due to class properties type.
- Psychtoolbox : http://psychtoolbox.org/
Clone or download this repo, and add it to MATLAB's path.
Check this script:
Arduino cannot work with both mods simultaniously : you have to choose (and upload) 1 program between "adc" and "pp"(parallel port)