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

5 visualizaciones (últimos 30 días)
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

Respuestas (1)

Walter Roberson
Walter Roberson el 26 de Abr. de 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

Categorías

Más información sobre Arduino Hardware en Help Center y File Exchange.

Productos


Versión

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by