MATLAB Answers

0

Missing Simulink Support for Arduino MKR Motor Carrier and Arduino Sensors

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

Sign in to comment.

1 Answer

Answer by MathWorks Maker Team on 5 Oct 2018
 Accepted Answer

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

  1 Comment

Yes. The re-installations worked. Thank you. Best, Sahil

Sign in to comment.