when using my arduino engineeging kit
显示 更早的评论
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.
回答(1 个)
Madhu Govindarajan
2018-7-30
0 个投票
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 个评论
wilfredo oteromatos
2018-7-31
Madhu Govindarajan
2018-7-31
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
2018-8-1
Madhu Govindarajan
2018-8-1
I am glad you got it to work. I will pass your feedback to Arduino to update the manual.
Regards, Madhu
类别
在 帮助中心 和 File Exchange 中查找有关 Arduino Hardware 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!