While using the pulse generator and digital out with an Arduino Due, I received the error message: C:/Program​Data/MATLA​B/SupportP​ackages/R2​017a/toolb​ox/target/​supportpac​kages/ardu​inobase/sr​c/MW_digit​alio.cpp:1​:21: fatal error: Arduino.h: No such file

1 visualización (últimos 30 días)
While uploading the Pulse Generator and Digital Output circuit (Blinking LED) to an Arduino Due, I received the error message:
C:/ProgramData/MATLAB/SupportPackages/R2017a/toolbox/target/supportpackages/arduinobase/src/MW_digitalio.cpp:1:21: fatal error: Arduino.h: No such file or directory
#include <Arduino.h>
^
compilation terminated.
gmake: *** [MW_digitalio.o] Error 1
How can I resolve this problem?

Respuesta aceptada

Mandar Patwardhan
Mandar Patwardhan el 11 de Mayo de 2017
This problem can be resolved by re-installing the Support Package.
  • Uninstall the existing support package. Maker sure that the respective folder (C:/ProgramData/MATLAB/SupportPackages/R2017a/toolbox/target/supportpackages/arduinobase) is deleted.
  • After this, execute the following command in MATLAB:
>>rehash toolboxcache
  • Install the Support Package again.

Más respuestas (0)

Categorías

Más información sobre Introduction to Installation and Licensing en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by