MATLAB Answers

0

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

Asked by mohamed ashraf on 12 Jul 2018
Latest activity Edited by 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.

  0 Comments

Sign in to comment.

2 Answers

Answer by mohamed ashraf on 13 Jul 2018
Edited by 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

  0 Comments

Sign in to comment.


Answer by 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

Hello Arpita,
I already did that and nothing changed but of course thanks to you for ur help. Iam now taking a course which provides a matlab2018 but when i try to download the version after submetting my email and it just stops from downloading and not at specific point do you know how can i restart the downloading without going to the first thing over and over and plz with details
Thanks Mohamed
Hi Mohamed,
Please contact MathWorks Technical Support to get help on resolving the installation error.
Thanks Arpita

Sign in to comment.