MATLAB Answers

Install Arduino Support Package "successful" but Matlab doesn't recognize it

6 views (last 30 days)
Bruce Wheeler
Bruce Wheeler on 29 Dec 2016
Answered: hayder al-azzawi on 11 Oct 2019
Mac OS X El Capitan 10.11.6 Macbook pro retina mid 2015 after install, support package in same place as my other Macboo have repeated 5 times now; have erased files and started over; here's response to comand line >> arduino You need the MATLAB Arduino support package before you can use this feature. Open Support Package Installer to install support for additional MATLAB hardware.
  1 Comment
Roman Baca
Roman Baca on 23 Apr 2017
I am having a similar issue; I have matlab 2016b installed on my laptop (OS=Ubuntu 14.04 LTS) and I have installed the Arduino packages in matlab that are found by going to "add-ons->Hardware SUpport Packages" and I am getting the following message when I try to use this command in the command window "a = arduino('/dev/ttyACM0','Mega2560')":
You need the MATLAB Arduino support package before you can use this feature. Open Support Package Installer to install support for additional MATLAB hardware.
Here's what I get when I use the commands suggested by Prateek:
>> rehash toolboxcache
>> matlabshared.supportpkg.getInstalled
Name Version Base Product
------------------------------------------- ------- ------------
MATLAB Support Package for Arduino Hardware 16.2.1
Has anybody who has faced a similar issue offer any guidance here?

Sign in to comment.

Answers (2)

Prateek Khandelwal
Prateek Khandelwal on 3 Jan 2017
Hi.
Can you please execute `reshash toolboxcache` followed by `matlabshared.supportpkg.getInstalled` and share the output here ?
  1 Comment
Shuvam Kumar
Shuvam Kumar on 29 Mar 2018
Iam also facing the same issue with R2015a
>> rehash toolboxcache >> matlabshared.supportpkg.getInstalled Name Version Base Product ------- ------- ------------ Arduino 15.1.2 Simulink Arduino 15.1.2 Simulink Arduino 15.1.1 MATLAB

Sign in to comment.


Community Treasure Hunt

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

Start Hunting!