when using my arduino engineeging kit
Afficher commentaires plus anciens
I can see libraries in my arduio but when trying to execute carrier = addon(a, 'Arduino/MKRMotorCarrier'), MATlab says the library is not on the board.
Réponses (1)
Madhu Govindarajan
le 30 Juil 2018
0 votes
Type listArduinoLibraries in MATLAB Command Window. This should return something with the {'Arduino/MKRMotorCarrier'} in the list. If it does not show up, add the Arduino_Engineering_Kit_Hardware_Support and its subfolders to MATLAB path by right clicking on this folder. Once this is done, use 'arduinosetup' command to add this library as well as shown in the instructions of Arduino Engineering Kit.
Then you should be able to use the carrier command.
Regards, Madhu
4 commentaires
wilfredo oteromatos
le 31 Juil 2018
Madhu Govindarajan
le 31 Juil 2018
The folder that I am referring to is Arduino_Engineering_Kit_Hardware_Support.
If this does indeed shows the MKRMotorCarrier in listArduinoLibraries and you still get the error, it could be because you have not downloaded the 3rd party libraries explained in the ArduinoKitHardwareSupportReadMe.txt file. To open this file, please type
>> edit('ArduinoKitHardwareSupportReadMe.txt')
Then follow the instructions here to download the 3rd party libraries needed.
wilfredo oteromatos
le 1 Août 2018
Madhu Govindarajan
le 1 Août 2018
I am glad you got it to work. I will pass your feedback to Arduino to update the manual.
Regards, Madhu
Catégories
En savoir plus sur Arduino Hardware dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!