Main Content

arduino.supportpkg.getSAMDLibraryRoot

GetArduinoSAMD library root directory path

Description

example

samdLibraryRoot= arduino.supportpkg.getSAMDLibraryRootreturns a character vector containing the absolute path to the root folder of the installed Arduino®SAMD libraries.

Examples

collapse all

Ensure that you have MATLAB®R2020b or higher installed with金宝app®Support Package for Arduino Hardware. Get the root folder of the installed Arduino SAMD libraries.

arduino.supportpkg.getSAMDLibraryRoot
ans = 'C:\ProgramData\MATLAB\SupportPackages\R2020b\3P.instrset\arduinoide.instrset\portable\packages\arduino\hardware\samd\1.8.4\libraries'

Output Arguments

collapse all

Root folder of the installed Arduino SAMD libraries, returned as a character vector. By default, the root folder isC:\ProgramData\MATLAB\SupportPackages\R2020b\3P.instrset\arduinoide.instrset\portable\packages\arduino\hardware\samd\1.8.4\libraries

介绍了R2020b