Main Content


Display a list of installed Arduino libraries

Add-On Required: This feature requires the MATLAB Support Package for Arduino Hardware add-on.



lib = listArduinoLibraries(); creates a list of available Arduino® libraries and saves the list to the variable lib.


collapse all

List libraries installed on your system.

lib = listArduinoLibraries()
lib = 

      9×1 cell array 

    {'Adafruit/BNO055'       } 
    {'I2C'                   } 
    {'RotaryEncoder'         } 
    {'SPI'                   } 
    {'Serial'                } 
    {'Servo'                 } 
    {'ShiftRegister'         } 
    {'Ultrasonic'            } 

Output Arguments

collapse all

List of available Arduino libraries specified as an object or a cell array of character vectors.

Version History

Introduced in R2014b

See Also