Main Content

arduino.supportpkg.getAVRLibraryRoot

Get Arduino AVR library root directory path

Description

example

avrLibraryRoot = arduino.supportpkg.getAVRLibraryRoot returns a character vector containing the absolute path to the root folder of the installed Arduino® AVR libraries.

Examples

collapse all

Ensure that you have MATLAB® R2020b or higher installed with Simulink® Support Package for Arduino Hardware. Get the root folder of the installed Arduino AVR libraries.

arduino.supportpkg.getAVRLibraryRoot
ans =

    'C:\ProgramData\MATLAB\SupportPackages\R2020b\3P.instrset\arduinoide.instrset\libraries'

Output Arguments

collapse all

Root folder of the installed Arduino AVR libraries, returned as a character vector. By default, the root folder is C:\ProgramData\MATLAB\SupportPackages\R2020b\3P.instrset\arduinoide.instrset\libraries

Introduced in R2020b