Error when uploading Simulink to Arduino MKR1000

8 ビュー (過去 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.
PS: If this does not resolve the issue, contact MathWorks TS for assistance with installation.

その他の回答 (0 件)


Help Center および File ExchangeModeling についてさらに検索




Community Treasure Hunt

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

Start Hunting!

Translated by