Missing Simulink Support for Arduino MKR Motor Carrier and Arduino Sensors
1 view (last 30 days)
Show older comments
Sahil Girish
on 5 Oct 2018
Commented: Jon Kelly
on 4 Sep 2019
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 Comments
Accepted Answer
MathWorks Maker Team
on 5 Oct 2018
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 Comments
Madhu Govindarajan
on 3 Sep 2019
@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
More Answers (0)
Communities
More Answers in the Power Electronics Control
See Also
Categories
Find more on Modeling 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!