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

5 Ansichten (letzte 30 Tage)
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

Antworten (1)

Walter Roberson
Walter Roberson am 26 Apr. 2025
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

Kategorien

Mehr zu Arduino Hardware finden Sie in Help Center und File Exchange

Produkte


Version

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by