Hello Arduino'friend!
I would to use Arduino Leonardo with matlab. I have installed Arduino package for Matlab and Simulink and I have a Arduino Leonardo.
I try to write in command window
a=arduino('COMport')
but I get an error,
a=arduino('COM23')
Undefined function 'arduino' for input arguments of type 'char'.
I have failed in the installation or Arduino leonardo isn't compatible with Matlab?