MATLAB Support Package for Arduino Hardware
MATLAB®Support Package for Arduino®Hardwareenables you to use MATLAB to communicate with an Arduino board. You can read and write sensor data through the Arduino and immediately see the results in MATLAB without having to compile.
Getting Started
Learn the basics of MATLAB Support Package for Arduino Hardware
Setup and Configuration
Install hardware support, set up hardware connection
Read and Write Data
Read and write directly to Arduino hardware
I2C Devices
Read and write to I2C devices connected to Arduino hardware
SPI Devices
Read and write to SPI devices connected to Arduino hardware
Serial Devices
Read and write to serial devices connected to Arduino hardware
Shift Registers
Read from and write to shift registers connected to Arduino hardware
Quadrature Encoders
Control quadrature encoders connected to Arduino hardware
Servo Motors
Read and write to servo motors connected to Arduino hardware
Adafruit Motor Shield V2
Control motors connected to add-on shields on Arduino hardware
BNO055 Sensor
Read data from BNO055 sensors
Ultrasonic Sensor
Measure distance of an object using ultrasonic sensors
Sensors
Read data from IMU sensors
Custom Arduino Libraries
Create custom add-on library for the Arduino
Creating Standalone Applications
Create standalone applications usingMATLAB Compiler™and Arduino hardware
Deploy Arduino Functions to Arduino Hardware Using MATLAB Function Block
Use functions in a MATLAB Function block to generate code and deploy to Arduino Hardware
Troubleshooting in MATLAB Support Package for Arduino Hardware
Resolve unexpected issues in MATLAB Support Package for Arduino Hardware