Error when uploading Simulink to Arduino MKR1000

조회 수: 1 (최근 30일)
Spencer Gable-Cook
Spencer Gable-Cook 2019년 10월 25일
답변: Madhu Govindarajan 2019년 10월 31일
I am trying to upload a Simulink model to my Arduino MKR 1000, however I receive the following error:
"/Users/username/Documents/MATLAB/SupportPackages/R2019b/3P.instrset/arduinoide.instrset/idepkgs/packages/arduino/tools/arm-none-eabi-gcc/4.8.3-2014q1/bin/arm-none-eabi-g++: No such file or directory gmake: *** [MW_arduinoI2C.o] Error 127 Error(s)"
When I checked the existence of the above file, it did not exist. Does anyone know how I can successfully add these required files?
Thank you for your help.

채택된 답변

Madhu Govindarajan
Madhu Govindarajan 2019년 10월 31일
I would recommend a clean reinstall of the Hardware support packages.
  • If you type arduinoio.PackageRoot on MATLAB Command Window, this will tell you the Arduino Support Package root location.
Example – C:\ProgramData\MATLAB\SupportPackages\R2018b\3P.instrset\arduinoide.instrset\idepkgs
In here, Note the location till R2018b or R2018a depending on what version of MATLAB you have.
  • After this go ahead and uninstall both Arduino support packages.
  • Next go to the location in first step and ensure no more files are left, and feel free to delete any left over.
  • Then close and reopen MATLAB as an administrator by right clicking on MATLAB icon and selecting Run as administrator or using sudo command on terminal window.
  • Now reinstall the support packages and on non-Windows OSes do not close additional terminal windows that open during this process.
HTH,
Madhu
PS: If this does not resolve the issue, contact MathWorks TS for assistance with installation.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Arduino Hardware에 대해 자세히 알아보기

제품


릴리스

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by