MATLAB Support Package for Arduino enables you to use MATLAB to communicate with the Arduino board over a USB cable. It is based on a server program running on the board, which listens to MATLAB commands arriving via serial port, executes the commands, and, if needed, returns a result.
This allows you to:
Start programming right away without any additional toolboxes
Work in the MATLAB environment for interactive development and debugging
Interactively develop programs to acquire analog and digital data, and to control DC, servo, and stepper motors
Run control loops at up to 25 Hz (not real-time)
Introduce mechatronics, signal processing, and electronics concepts in classroom labs