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 visualizzazione (ultimi 30 giorni)
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?

Risposta accettata

Mandar Patwardhan
Mandar Patwardhan il 11 Mag 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.

Più risposte (0)

Categorie

Scopri di più su Introduction to Installation and Licensing in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by