Main Content

arduino.supportpkg.getSAMDRoot

GetArduinoSAMD file root path

Description

example

samdRoot= arduino.supportpkg.getSAMDRootreturns a character vector containing the absolute path to the root folder of the installed Arduino®SAMD files.

Examples

collapse all

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

arduino.supportpkg.getSAMDRoot
ans = 'C:\ProgramData\MATLAB\SupportPackages\R2020b\3P.instrset\arduinoide.instrset\portable'

Output Arguments

collapse all

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

Introduced in R2020b