Has installed the arduino package for matlab, but I still can not use the function of 'arduino'
Mostrar comentarios más antiguos
Hi, all.
I was trying to connect the arduino DUE board to matlab for real time ploting. but I do not know why I can not use the arduino function after installing the support package. I was trying to type 'which arduino -all' to find it. But it showed me 'arduino' was nor found.

3 comentarios
Marcus Casanova
el 30 de Nov. de 2015
Hi! I am having a similar problem. I've installed the arduino package through matlab (add-on >> get hardware support packaged and then installed all 3 packages available). I can connect to arduino:

but it does not recognize the commands. I'd tried pinMode() or digitalWrite().

I tried to use the link fom Abhishek GS and copy the folders to matlab path as zyselvis done but still not working. A
Anyone knows why?
Thank you
Walter Roberson
el 1 de Dic. de 2015
Marcus, pinMode() is only for the older Arduino package. See http://www.mathworks.com/matlabcentral/answers/159069-matlab-recognizes-arduino-but-not-other-code
Marcus Casanova
el 1 de Dic. de 2015
Yes, that's the reason! Thank you Walter!
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Arduino Hardware en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!