How do I connect my Arduino Leonardo to MATLAB 2014a?

Hey,
I'm trying to interface my Arduino Leonardo with MATLAB 2014a, and I have a Windows 8 Laptop. I had downloaded the IDE for ARDUINO and the ARDUINOIO package from this website. http://www.mathworks.com/matlabcentral/fileexchange/32374-matlab-support-for-arduino--aka-arduinoio-package-. This Website had the 'adioes.pde' file in the zip folder that I needed to upload to my Arduino through the IDE for it to recognize MATLAB. After I uploaded the program, I then opened MATLAB and tried creating and object by the following command: a = arduino('COM5', 'Due'); , however it was saying that it cannot detect the Arduino Hardware.
I entered in the board type for my Leonardo as 'Due' (<http://www.mathworks.com/help/supportpkg/arduinoio/examples/getting-started-with-matlab-support-package-for-arduino-hardware.html?prodcode=ML#zmw57dd0e56>)
I'm not sure what the problem might be....is it because I have a windows 8 and thus, the Arduino to Matlab Support Package is not compatible? OR, is it because I have MATLAB 2014 and would need MATLAB 2013a OR does the Leonardo board not recognizable in MATLAB at all :/ ?
Please let me know on how I can fix this problem, it would greatly help me as I am very confused right now!
Thank you so much!!

Answers (0)

Categories

Tags

Asked:

JS
on 26 Feb 2015

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!