Simulink Arduino Support Package - No appropriate method, property, or field.../can't connect to server keeps occuring despite trying answers
3 views (last 30 days)
Show older comments
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...
0 Comments
Answers (1)
Muskan
on 21 Jun 2024
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 Comments
See Also
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!