Azzera filtri
Azzera filtri

Simulink Arduino Support Package - No appropriate method, property, or field.../can't connect to server keeps occuring despite trying answers

1 visualizzazione (ultimi 30 giorni)
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...

Risposte (1)

Muskan
Muskan il 21 Giu 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!

Categorie

Scopri di più su Arduino Hardware in Help Center e File Exchange

Prodotti


Release

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by