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

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.

回答 (1 件)

Anurag Mishra
Anurag Mishra 2022 年 5 月 3 日
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

カテゴリ

ヘルプ センター および File ExchangeArduino Hardware についてさらに検索

質問済み:

2021 年 1 月 7 日

回答済み:

2022 年 5 月 3 日

Community Treasure Hunt

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

Start Hunting!

Translated by