This add-on allows MATLAB to interface with LSM303 accelerometer and magnetometer connected to Arduino hardware. With the add-on, you can read the measured acceleration in meter per second squared and magnetic field strength in micro tesla.
MathWorks MATLAB Hardware Team (2019). LSM303_Add-On_Library_for_Arduino (https://www.mathworks.com/matlabcentral/fileexchange/71747-lsm303_add-on_library_for_arduino), MATLAB Central File Exchange. Retrieved .
Updated for compatibility with 19b.