Go Down

Topic: Cannot find instance/adc.h when installing Matlab support package for Arduino (Read 206 times) previous topic - next topic


 I am installing Matlab support package for Arduino. However, on the page of Hardware Setup, after I hit the Program button, It says "Failed to program the Arduino board, Click the following link to see the error log. Contract Technical support if you need more help."

I tried to type
a = arduino('COM7','MKR1000','Trace',true);
in Matlab so that I can see the error information, then the reported error is:

fatal error: instance/adc.h: No such file or directory

 #include "instance/adc.h"


compilation terminated.

exit status 1

I will be really appreciated if someone could help to solve the problem. Thank you.

Go Up