samdRoot = arduino.supportpkg.getSAMDRoot
returns a character vector containing the absolute path to the root folder of the installed
Arduino® SAMD 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 SAMD files.
arduino.supportpkg.getSAMDRoot
ans =
'C:\ProgramData\MATLAB\SupportPackages\R2020b\3P.instrset\arduinoide.instrset\portable'
samdRoot — Root folder of installed Arduino SAMD files character vector
Root folder of the installed Arduino SAMD files, returned as a character vector. By
default the root folder is
C:\ProgramData\MATLAB\SupportPackages\R2020b\3P.instrset\arduinoide.instrset\portable
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.