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
2022 年 5 月 3 日
0 投票
Hi,
Uninstalling and reinstalling the Arduino support package may fix the issue.
To uninstall the support package:
- Navigate to the MATLAB Toolstrip, then go to the Home tab
- In the environment section, select Add-Ons > Manage Add-Ons
- 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:
- Go to Add-Ons > Get Hardware Support Packages
- 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 Exchange で Arduino Hardware についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!