—- Preceding statement: I know there's a similar question on here, but it didn't contain a solution for me. —-
I am attempting to connect an Arduino Uno to Matlab R2014b. I have uploaded the adiosrv.pde file from this google code page (because I cannot find a place to download it from the MatLab site):
https://code.google.com/p/arduinolab/source/browse/ArduinoIO/ArduinoIO/adiosrv/adiosrv.pde?r=b25efc9ea77bbfde5af8774ec57432f23b24a0f2
After entering:
supportPackageInstaller
to MatLab and installing everything, (including the ArduinoIO package for Matlab R2014b) and typing:
a = arduino('COM3','uno');
I then got the following message come up:
Updating server code on Arduino Uno (COM3). Please wait.Cannot program Arduino board Uno (COM3). Please make sure the board is supported and the port and board type are correct.
When I enter:
which -all arduino
to MatLab I get:
C:\MATLAB\SupportPackages\R2014b\arduinoio\toolbox\matlab\hardware\supportpackages\arduinoio\arduino.m % arduino constructor
C:\Program Files\MATLAB\R2014b\toolbox\matlab\hardware\stubs\arduino.m % Shadowed
All help is appreciated!
Best Answer