Has installed the arduino package for matlab, but I still can not use the function of 'arduino'
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
zyselvis
el 6 de Abr. de 2015
Comentada: Marcus Casanova
el 1 de Dic. de 2015
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
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
Respuesta aceptada
Abhishek GS
el 6 de Abr. de 2015
Hi zyselvis,
Can you confirm if you have downloaded the right " MATLAB Support Package for Arduino Hardware " from this location ?
Alternately, you can also download the MATLAB Support package from your MATLAB Command prompt by typing 'supportPackageInstaller', choose 'Install from Internet' option and then choosing the MATLAB Support Package under Arduino option.
You may already know this, but stating it again. MATLAB Support Package is different from Simulink Support Package for Arduino. The 'arduino' function is a part of MATLAB Support Package for Arduino and not Simulink Support Package.
Cheers, Abhishek
Más respuestas (0)
Ver también
Categorías
Más información sobre Arduino Hardware en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!