Whenever I try to connect Matlab with arduino I get :
>> a=arduinoFailed to open a connection at serial port /dev/cu.usbmodem1421.Make sure the port or address is correct and the Arduino hardwareis properly plugged in. For troubleshooting, see Arduino HardwareTroubleshooting.
The port connection is correct though (it works in arduino application).
System: macbook pro 2012
edit: when I restart matlab it doesn't appear any reasons?
Best Answer