when using my arduino engineeging kit
Show older comments
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.
Answers (1)
Madhu Govindarajan
on 30 Jul 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 Comments
wilfredo oteromatos
on 31 Jul 2018
Madhu Govindarajan
on 31 Jul 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
on 1 Aug 2018
Madhu Govindarajan
on 1 Aug 2018
I am glad you got it to work. I will pass your feedback to Arduino to update the manual.
Regards, Madhu
Categories
Find more on Arduino Hardware in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!