How can I find the installation path for Simulink Support Package for Arduino Hardware

조회 수: 7 (최근 30일)
I downloaded the Simulink Support Package for Arduino Hardware from the MATLAB add ons. Now, I need to add the paths for Arduino. h and avr/interrupt. h in the S-Function Builder module, but I cannot find the specific file locations. Therefore, I need the default installation location for the Simulink Support Package for Arduino Hardware to find the files I need

답변 (1개)

Walter Roberson
Walter Roberson 2025년 4월 26일
matlabshared.supportpkg.getSupportPackageRoot()
ans = '/SupportPackages'
It will be in a directory underneath there.
In particular,
./3P.instrset/arduinoide.instrset/aCLI/user/libraries/PubSubClient/tests/src/lib/Arduino.h
./3P.instrset/arduinoide.instrset/aCLI/user/libraries/ArduinoBLE/extras/test/include/Arduino.h
./3P.instrset/arduinoide.instrset/aCLI/data/packages/arduino/hardware/avr/1.8.3/cores/arduino/Arduino.h
./3P.instrset/arduinoide.instrset/aCLI/data/packages/arduino/hardware/sam/1.6.12/cores/arduino/Arduino.h
./3P.instrset/arduinoide.instrset/aCLI/data/packages/arduino/hardware/renesas_uno/1.0.5/cores/arduino/Arduino.h
./3P.instrset/arduinoide.instrset/aCLI/data/packages/arduino/hardware/mbed_nano/4.0.4/cores/arduino/Arduino.h
./3P.instrset/arduinoide.instrset/aCLI/data/packages/arduino/hardware/samd/1.8.9/cores/arduino/Arduino.h
./3P.instrset/arduino_simulink_libs.instrset/MW_sl_library_25a/PubSubClient/tests/src/lib/Arduino.h
./3P.instrset/arduinoide.instrset/aCLI/data/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/avr/include/avr/interrupt.h
./3P.instrset/arduinoide.instrset/aCLI/data/packages/arduino/hardware/sam/1.6.12/cores/arduino/avr/interrupt.h
./3P.instrset/arduinoide.instrset/aCLI/data/packages/arduino/hardware/renesas_uno/1.0.5/cores/arduino/api/deprecated-avr-comp/avr/interrupt.h
./3P.instrset/arduinoide.instrset/aCLI/data/packages/arduino/hardware/mbed_nano/4.0.4/cores/arduino/api/deprecated-avr-comp/avr/interrupt.h
./3P.instrset/arduinoide.instrset/aCLI/data/packages/arduino/hardware/samd/1.8.9/bootloaders/mzero/Bootloader_D21/src/ASF/common/utils/interrupt.h
./3P.instrset/arduinoide.instrset/aCLI/data/packages/arduino/hardware/samd/1.8.9/bootloaders/sofia/Bootloader_D21_Sofia_V2.1/src/ASF/common/utils/interrupt.h
./3P.instrset/arduinoide.instrset/aCLI/data/packages/arduino/hardware/samd/1.8.9/cores/arduino/avr/interrupt.h

카테고리

Help CenterFile Exchange에서 Arduino Hardware에 대해 자세히 알아보기

제품


릴리스

R2024b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by