
Missing Simulink Support for Arduino MKR Motor Carrier and Arduino Sensors
조회 수: 6 (최근 30일)
이전 댓글 표시
Hello,
I have successfully installed the Arduino Engineering kit toolbox and the MKR Motor Carrier library. I have been able to execute code and simulink simulations up to Section 2.3.2 of the engineering kit tutorial without any problems. However for section 2.3.2.1, it appears that two toolboxes are missing from my library: - Simulink Support for Arduino MKR Motor Carrier - Simulink Support for Arduino Sensors I have installed and can see the 'Simulink Support Package for Arduino Hardware' in my libraries browser but it is completely empty. I would greatly appreciate some help in locating or install the aforementioned missing packages.
Thanks and regards, Sahil Girish
댓글 수: 0
채택된 답변
MathWorks Maker Team
2018년 10월 5일
I strongly suspect you are on R2018b and am posting this. I suspect the MKRMotorCarrier is not showing up due to a bug that a user identified. The easiest way to confirm is Click on Add-Ons > Manage Add-Ons on the toolstrip at the top of MATLAB. Here check the version of Arduino_Engineering_Kit_Hardware_Support_18b. This is the file you must have for R2018b, if you have Arduino_Engineering_Kit_Hardware_Support uninstall that and install the latest version (1.1.1) of Arduino_Engineering_Kit_Hardware_Support_18b and you will get MKRMotorCarrier Library. You don't need the ArduinoSensors library in R2018b.
If you are on R2018a, please uninstall and reinstall the Arduino_Engineering_Kit_Hardware_Support toolbox from Add-Ons > Manage Add-Ons.
Does your Simulink support package for Arduino look something like the following image? If not, please uninstall and reinstall this as well.

If you decide to uninstall and reinstall any of these, please remember to open MATLAB with administrator access as that helps. Right click on MATLAB icon and select Run as administrator for this.
HTH, Madhu
댓글 수: 4
Madhu Govindarajan
2019년 9월 3일
@Jon - please check if you followed the imporant notes under the toolbox?
Important notes:
1) After installing this toolbox, type the following command in MATLAB to open the ReadMe
>> edit ArduinoKitHardwareSupportReadMe.txt
2) Be sure to follow the steps in this file, as it provides instructions on downloading the Arduino library for the MKR Motor Carrier. This library is required for some of the functionality to work.
If you did and are still running into issues, please reach out to MathWorks Technical Support using this page. https://www.mathworks.com/support/contact_us.html
추가 답변 (0개)
커뮤니티
더 많은 답변 보기: Power Electronics Community
참고 항목
카테고리
Help Center 및 File Exchange에서 Arduino Hardware에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!