Error connecting Arduino hardware to MATLAB R2018b
20 views (last 30 days)
Mohamed Elazab on 24 Mar 2019
I installed MATLAb support package for ardunio hardware. When I type a=arduino() in the workspace. I get the error message
>> a= arduino ()
Updating server code on board Mega2560 (/dev/cu.usbmodem14101). This may take a few minutes.
Undefined variable "ide" or class "ide.internal.getArduinoIDE
I'm using Mac by the way. Does anyone know what may be the problem?
Kestas Subacius on 26 Mar 2019
This issue can be resolved by doing a clean re-installation, rather than a regular re-installation, of the "MATLAB Support Package for Arduino Hardware".
Please see the below resource for the steps to do a clean re-installation of a support package: