Use add-on libraries to expand Arduino® support from MATLAB®. With these libraries, you can connect your Arduino to custom hardware or call third-party libraries. MathWorks has created several add-on libraries for popular sensors, which are available through the Add-On Explorer. The framework is documented, so any experienced C programmer can create additional add-ons for other Arduino libraries. This demo shows you how to install and use an add-on library for the LSM303 accelerometer and create a live plot of the data in MATLAB.
Recorded: 13 Mar 2017
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.