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

3 ビュー (過去 30 日間)
Krystof Jirasek
Krystof Jirasek 2024 年 6 月 11 日
回答済み: Muskan 2024 年 6 月 21 日
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...

回答 (1 件)

Muskan
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!

カテゴリ

Help Center および File ExchangeArduino Hardware についてさらに検索

製品


リリース

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by