Simulink Arduino Support Package – No appropriate method, property, or field…/can’t connect to server keeps occuring despite trying answers
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…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… 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… arduino, simulink arduino MATLAB Answers — New Questions