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!