Clear Filters
Clear Filters

Missing Simulink Support for Arduino MKR Motor Carrier and Arduino Sensors

4 views (last 30 days)
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, 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

Accepted Answer

MathWorks Maker Team
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
Madhu Govindarajan
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.

Sign in to comment.

More Answers (0)


More Answers in the  Power Electronics Control




Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!