필터 지우기
필터 지우기

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

조회 수: 2 (최근 30일)
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?

채택된 답변

Mandar Patwardhan
Mandar Patwardhan 2017년 5월 11일
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.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by