Main Content

arduino.supportpkg.getAVRRoot

Get Arduino AVR file root path

Description

example

avrRoot = arduino.supportpkg.getAVRRoot returns a character vector containing the absolute path to the root folder of the installed Arduino® AVR files.

Examples

collapse all

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

arduino.supportpkg.getAVRRoot
ans =

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

Output Arguments

collapse all

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

Introduced in R2020b