Simulink Arduino Support Package - No appropriate method, property, or field.../can't connect to server keeps occuring despite trying answers
1 次查看(过去 30 天)
显示 更早的评论
After installing R2024a, I can't get the package working. Multiple times unistalled, reinstalled, MATLAB always run in admin mode, tried clean installation (after deleting files in ProgramData/.../SupportPackages). Connection test gives the message (attached screenshot):
No appropriate method, property, or field... for the class ...
Trying to run simple program to read encoder in simulink says it can't connect to server, even though the setup of arduino is fine, multiple times checked. Other blocks give the same error. Attached screenshot of error after trying to read from digital pin.
Same programs and setup worked on R2021b, although after some time the inputs from digital pins dropped to constant 0 and wouldn't work again until restarting matlab and simulink.
Not mentioning that the installation itself is unfriedly too, I always have to uninstall all support packages, clean ProgramData\..\SupportPackages...
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1713686/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1713741/image.png)
0 个评论
回答(1 个)
Muskan
2024-6-21
Hello Krystof,
You can refer to the flollowing MATLAB Answer on how to "Troubleshoot Installation issues of Simulink Support Pacakage for Arduino Hardware": https://in.mathworks.com/matlabcentral/answers/844090-faqs-troubleshoot-installation-issues-of-simulink-support-package-for-arduino-hardware/
I hope this helps!
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Arduino Hardware 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!