avrRoot = arduino.supportpkg.getAVRRoot
returns a character vector containing the absolute path to the root folder of the installed
Arduino® AVR files.
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'
avrRoot — Root folder of installed Arduino AVR files character vector
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
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.