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!