MATLAB Answers

Error in writing a = arduino('COM3','uno', 'TraceOn', true); when connecting matlab with arduinom i dont know the problem?

3 views (last 30 days)
mohamed ashraf
mohamed ashraf on 12 Jul 2018
Edited: Walter Roberson on 23 Jul 2018
When i write a = arduino('COM3','uno', 'TraceOn', true); this is what appeared: Vendor returned error messages: C:\MATLAB\SupportPackages\R2014a\arduino-1.5.6-r2\hardware\tools\avr\utils\bin\make: Interrupt/Exception caught (code = 0xc00000fd, addr = 0x4217b3) i dont know what is that mean? its windows 7 64bit, i had a problem first in arduino-1.5.6-r2 then i downloaded it from arduino site.

Answers (2)

mohamed ashraf
mohamed ashraf on 13 Jul 2018
Edited: Walter Roberson on 23 Jul 2018
NOW THIS APPEARS
Vendor returned error messages:
C:/MATLAB/SupportPackages/R2014a/arduino-1.5.6-r2/hardware/tools/avr/bin/avr-gcc
-I"C:/MATLAB/SupportPackages/R2014a/arduino-1.5.6-r2/hardware/arduino/avr/libraries/Wire/utility"
-I"C:/MATLAB/SupportPackages/R2014a/arduino-1.5.6-r2/hardware/arduino/avr/cores/arduino"
-I"C:/MATLAB/SupportPackages/R2014a/arduino-1.5.6-r2/hardware/arduino/avr/variants/standard" -mmcu=atmega328p -MMD
-fno-exceptions -ffunction-sections -fdata-sections -g -Os -w -D"F_CPU=16000000" -DUSB_VID=0x2341 -DUSB_PID=0x0043
-DARDUINO=156 -DARDUINO_ARCH_AVR -c -x none
C:/MATLAB/SupportPackages/R2014a/arduino-1.5.6-r2/hardware/arduino/avr/cores/arduino/hooks.c -o
C:/Users/mizo/AppData/Local/Temp/ArduinoServer/hooks.c.o
C:/MATLAB/SupportPackages/R2014a/arduino-1.5.6-r2/hardware/tools/avr/bin/avr-gcc
-I"C:/MATLAB/SupportPackages/R2014a/arduino-1.5.6-r2/hardware/arduino/avr/libraries/Wire/utility"
-I"C:/MATLAB/SupportPackages/R2014a/arduino-1.5.6-r2/hardware/arduino/avr/cores/arduino"
-I"C:/MATLAB/SupportPackages/R2014a/arduino-1.5.6-r2/hardware/arduino/avr/variants/standard" -mmcu=atmega328p -MMD
-fno-exceptions -ffunction-sections -fdata-sections -g -Os -w -D"F_CPU=16000000" -DUSB_VID=0x2341 -DUSB_PID=0x0043
-DARDUINO=156 -DARDUINO_ARCH_AVR -c -x none
C:/MATLAB/SupportPackages/R2014a/arduino-1.5.6-r2/hardware/arduino/avr/cores/arduino/WInterrupts.c -o
C:/Users/mizo/AppData/Local/Temp/ArduinoServer/WInterrupts.c.o
In file included from
C:/MATLAB/SupportPackages/R2014a/arduino-1.5.6-r2/hardware/arduino/avr/cores/arduino/wiring_private.h:33,
from
C:/MATLAB/SupportPackages/R2014a/arduino-1.5.6-r2/hardware/arduino/avr/cores/arduino/WInterrupts.c:33:
C:/MATLAB/SupportPackages/R2014a/arduino-1.5.6-r2/hardware/arduino/avr/cores/arduino/Arduino.h:245:26: error:
pins_arduino.h: No such file or directory
make: *** [C:/Users/mizo/AppData/Local/Temp/ArduinoServer/WInterrupts.c.o] Error 1

Arpita Agrawal
Arpita Agrawal on 16 Jul 2018
Hi Mohamed,
Please try to reinstall sppkg and Arduino IDE after uninstalling the current versions and ensuring that all files corresponding to both have been deleted. If the problem persists please contact MathWorks Technical Support to get help on resolving this issue.
Thanks Arpita
  2 Comments
Arpita Agrawal
Arpita Agrawal on 23 Jul 2018
Hi Mohamed,
Please contact MathWorks Technical Support to get help on resolving the installation error.
Thanks Arpita

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!