Error: Arduino IDE at folder 'arduino-1.8.1' is corrupt...

조회 수: 16 (최근 30일)
Norawit Nangsue
Norawit Nangsue 2018년 12월 8일
답변: Dhruba Gogoi 2023년 7월 26일
I've installed MATLAB Support Package for Arduino Hardware after I tried
a = arduino()
I got the error messages
Arduino IDE at folder 'arduino-1.8.1' is corrupt. Open Add‑On Explorer to reinstall
MATLAB Support Package for Arduino Hardware.
I've tried with both 2018a and 2018b. Could anyone please advice me on how to fix this?
  댓글 수: 1
duo Zhao
duo Zhao 2020년 1월 16일
Hi ,do you fix this problem ? I have the same problem, If you fix it ,please give me some tips.

댓글을 달려면 로그인하십시오.

답변 (3개)

Madhu Govindarajan
Madhu Govindarajan 2018년 12월 10일
Have you tried reinstalling the support package with administrator access? To do this right click on MATLAB icon and select Run as administrator.

Alvaro Lloret De Muller
Alvaro Lloret De Muller 2019년 3월 12일
Having the same problem, Any other ideas besides the reinstall?
  댓글 수: 4
KUNWA LAO
KUNWA LAO 2021년 2월 13일
Did you solve the problem?
Sivakumar Ramakrishnan
Sivakumar Ramakrishnan 2021년 5월 5일
Uninstall all suporting packages related to arduino. Uncheck the readonly and hidden attributes of ProgramData folder in C drive (this is were support packages gets installed). Then Run matlab as administrator. Install the hardware support packages and setup the hardware.

댓글을 달려면 로그인하십시오.


Dhruba Gogoi
Dhruba Gogoi 2023년 7월 26일
Well, its a pretty late reply. I am using the 2019.1 version and was struggling to install the Arduino support package for both Matlab and Simulink. Every time I received the same error saying unable to instal third party software i.e., Arduino ide. It probably has to to do something with the admin privilege. The following steps work for Matlab support (yet to check for simulink-no license)
  1. Install Matlab support for Arduino..it will probably go smoothly without any error!
  2. But when you try to create an Arduino object, an error saying Arduino IDE is corrupt will show up
  3. To fix this you can simply paste the arduino- 1.8.10 folder(unzipped) into your Matlab root directory....(C:\Program Files\MATLAB\R2019b\bin\win64) folder
  4. This makes the arduino library available to Matlab
  5. Best to download the Arduino IDE from the Arduino website https://www.arduino.cc/en/software/OldSoftwareReleases
  6. I have seen the same error while installation for Simulink support. So, this same method should work for Simulink too
  7. I will try that later and post
  8. Lastly, Mathworks support seems totally clueless about this issue. It may be a admin priviledge issue but this simple solution could have been saved me several days

카테고리

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

제품


릴리스

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by