When programming Arduino uno, I'm getting the Unrecognized function or variable 'configurePin' error

7 views (last 30 days)
I'm using the R2020b MATLAB, and running the adioes.pde sketch. Yesterday everything was fine, today I opened the project to work on it, and suddenly I'm getting that error. I remember getting it earlier yesterday too, but then it went away. I'm not sure what the issue is here, since it is a legitimate function that is compatible with everything else I'm using.

Answers (1)

Anurag Mishra
Anurag Mishra on 3 May 2022
Hi,
Uninstalling and reinstalling the Arduino support package may fix the issue.
To uninstall the support package:
  1. Navigate to the MATLAB Toolstrip, then go to the Home tab
  2. In the environment section, select Add-Ons > Manage Add-Ons
  3. Locate the MATLAB Support Package for Arduino Hardware entry. Click the 3 vertical dots next to the gear icon, then select Uninstall
After this support package is uninstalled, please restart MATLAB.
To re-install the support package:
  1. Go to Add-Ons > Get Hardware Support Packages
  2. Search for and install the MATLAB Support Package for Arduino Hardware
The following documentation page for instructions has more information regarding this process: https://www.mathworks.com/help/releases/R2020b/supportpkg/arduino/ug/install-support-for-arduino-hardware.html

Categories

Find more on Arduino Hardware 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!