Error installing third party package Arduino software: Invalid zip file

I have the 2013a version of matlab and been trying to install the simulink support package for arduino hardware, but I keep getting the following error:
"Error installing third party package Arduino software: Invalid zip file "C:\MATLAB\SupportPackages\R2013a\downloads\arduino-1.0-windows.zip"."
and then the installation stops.
N.B.: I using windows 8.

6 件のコメント

AJAY KUMAR
AJAY KUMAR 2017 年 3 月 22 日
sir the problem remains the same. The problem is still not resolved
Subhankar Majumder
Subhankar Majumder 2017 年 4 月 5 日
yah, i also suffering the same problem. somebody please give some solution for this.
TALHA AMIN
TALHA AMIN 2017 年 4 月 21 日
found this error as i try to install without internet
Mpilo Dhlamini
Mpilo Dhlamini 2017 年 8 月 5 日
Guys this error is not yet resolved? I am suffering from the same problem
Mark Yeo
Mark Yeo 2020 年 3 月 3 日
Not yet? I am disappointed.
Rohan Gupta
Rohan Gupta 2021 年 11 月 24 日
not yet solved its delaying my project

サインインしてコメントする。

 採用された回答

Shaima Al Hebsi
Shaima Al Hebsi 2017 年 1 月 7 日
編集済み: Shaima Al Hebsi 2017 年 1 月 7 日

10 投票

The way which has worked for me:
- Install the Hardware support from the Add-ons button in Matlab and wait for the error. Once you get the error cancel and exit the installation.
- Get Arduino 1.0 (the only version which made it work) from http://www.arduino.cc/en/Main/OldSoftwareReleases when you download it you will get it as a zip file having the same name which was shown in the error message arduino-1.0-windows.zip
- Now go to the directory shown in the error message: C:\MATLAB\SupportPackages\R2013a\downloads\arduino-1.0-windows.zip
and replace the existing corrupted arduino-1.0-windows.zip with the new one downloaded recently
- Disconnect internet connection and again go to Matlab add-ons and try again to install arduino hardware support package It should work this time.

20 件のコメント

Will Johnson
Will Johnson 2017 年 1 月 7 日
編集済み: Will Johnson 2017 年 1 月 7 日
This is the solution
I use matlab 2013b and this works
ali soltani
ali soltani 2017 年 2 月 13 日
very good , i have matlab 2013b , i works very well. thank you very much
MOHAMED AMINE OUARDI
MOHAMED AMINE OUARDI 2017 年 3 月 30 日
it worked thank u
omar osama
omar osama 2017 年 4 月 25 日
編集済み: omar osama 2017 年 4 月 25 日
useful, thanks
Gabriela Sánchez
Gabriela Sánchez 2017 年 6 月 2 日
thank, it was really useful :)
kasun jayalath
kasun jayalath 2017 年 7 月 20 日
This works. thanks
piyumika bandula
piyumika bandula 2017 年 8 月 4 日
Thank you, it is really useful!
ankita rupam
ankita rupam 2017 年 8 月 10 日
how we can go to the directory
VALARMATHY K
VALARMATHY K 2017 年 8 月 23 日
please help me...
Jahania Usman
Jahania Usman 2017 年 10 月 4 日
I have replaced the corrupted file, and now it gives this error. Please help
george bilali
george bilali 2018 年 1 月 6 日
Thanks a lot very useful ..its help and completely solve the problem...thanks in advance
MM - L'Hôpital
MM - L'Hôpital 2018 年 6 月 18 日
It works and it was very easy. Thanks.
Ahmed Kasban
Ahmed Kasban 2018 年 11 月 10 日
thanks
BOUDALLAA NOU-EDDINE
BOUDALLAA NOU-EDDINE 2019 年 2 月 16 日
Thank you bro it works
Juan Jose Paniagua Medina
Juan Jose Paniagua Medina 2019 年 3 月 1 日
It really works, thanks man.
Guendouz walid
Guendouz walid 2019 年 6 月 11 日
thank's very much bro
melis sulan
melis sulan 2019 年 12 月 18 日
ıt is not work for my program :(
Sarah Herda
Sarah Herda 2020 年 11 月 26 日
don't work for me (The specified key is not present in this container.)
Abreham Gashaw
Abreham Gashaw 2022 年 1 月 17 日
don't work for me (The specified key is not present in this container.)

サインインしてコメントする。

その他の回答 (10 件)

Michal Swoboda
Michal Swoboda 2015 年 6 月 25 日

6 投票

Hanin
I had the same problem. Here is what is going on and how to solve it:
Problem:
Solution:
  • Rerun the Arduino hardware package installer through MATLAB use the Install from Internet to make sure all the files are downloaded. Wait for it to give you the error and close the dialog window.
  • Download a fresh version of Arduino software from: http://www.arduino.cc/en/Main/OldSoftwareReleases
  • Extract the downloaded Arduino software to get the "Arduino" application
  • Right Click on the application and press Compress "Arduino". When the compression is finished change the name of the archive to arduino-1.5.6-r2-macosx.
  • Now go to MATLAB>SupportPackages>R2015a(or w/e version of MATLAB you are using)>downloads>arduinoio_download.Delete the old arduino-1.5.6-r2-macosx.zip and replace it with the archive you made.
  • Go to MATLAB. Click on Add-Ons > Get Hardware Support Packages. Select the "Install from folder option". Select the arduinoio_download folder
  • Click next and the installation should go through.
This worked for me. Hope it helps.
-Michal Swoboda

1 件のコメント

Image Analyst
Image Analyst 2015 年 6 月 25 日
From the looks of his zip file name, "C:\MATLAB\SupportPackages\R2013a\downloads\arduino-1.0-windows.zip", it appears Hanin and Gary have Windows, not an iMac with OSX. Not sure what Izwa has.

サインインしてコメントする。

vipin joseph
vipin joseph 2017 年 3 月 8 日
編集済み: Walter Roberson 2017 年 3 月 8 日

4 投票

This is the solution
  1. download a new arduino IDE from http://downloads.arduino.cc/arduino-1.0-windows.zip
  2. open C:\MATLAB\SupportPackages\R2013a\downloads
  3. replace existing arduino-1.0-windows.zip with new one
  4. exit matlab
  5. open matlab and choose install from folder
  6. select folder location C:\MATLAB\SupportPackages\R2013a\downloads

6 件のコメント

Ali Umara
Ali Umara 2017 年 3 月 11 日
its very helpful
TALHA AMIN
TALHA AMIN 2017 年 4 月 21 日
i followed the same guidelines but this error arises how to tackle it?
TALHA AMIN
TALHA AMIN 2017 年 4 月 21 日
Error installing third party package Arduino software: Unable to write file "C:\MATLAB\SupportPackages\R2013a\arduino-1.0\hardware\tools\avr\share\redhat\gui\bindings.tcl". The entry may be password-protected or encrypted.
Gowtham Raj G
Gowtham Raj G 2018 年 7 月 24 日
Great worked well.. thanks
Sebastian Quiroga
Sebastian Quiroga 2018 年 8 月 10 日
Worked!!! It's just to replace the arduino-1.0-windows.zip with the new one.
GHEZAL Abdelhamid
GHEZAL Abdelhamid 2019 年 11 月 15 日
thank u very much

サインインしてコメントする。

Muhammad Usman Khan
Muhammad Usman Khan 2018 年 2 月 28 日

1 投票

I tried almost all methods on MATLAB R2013a shown above. But I get the following error when I copy the downloaded zip into the directory and install from it "A dependent support package - Arduino Uno is missing. Please make sure the folder includes all the required files for Arduino support package." Please, someone, help me I'm fed up more.

1 件のコメント

keshavan alangaramohan
keshavan alangaramohan 2018 年 5 月 24 日
same problem for me also i think better we go to next version of matlab

サインインしてコメントする。

Umar Farooq
Umar Farooq 2018 年 12 月 16 日

1 投票

Suffering from the same error in MATLAB 2017a. Anybody help me!
Image Analyst
Image Analyst 2014 年 3 月 13 日

0 投票

Sounds like a zip problem, not a MATLAB problem. Contact the "third party" for a new zip file.

1 件のコメント

Gary
Gary 2015 年 6 月 24 日
I believe is a MATLAB problem as the source MATLAB downloads and installs is not a valid source. I can download the ardueno code directly and install it independent of MATLAB. But will this work in concert with MATLAB as a valid hardware target?

サインインしてコメントする。

Izwa
Izwa 2014 年 6 月 9 日

0 投票

same problem. do you have any solution?
Liang Xuan
Liang Xuan 2015 年 6 月 24 日

0 投票

Please download the 1.5.6-r2 BETA Windows zip file through the following link,
then copy the zip file into your Matlab support packages folder.
Done

4 件のコメント

Gary
Gary 2015 年 6 月 24 日
This doew not work for me as the 1.5.6-r2 BETA Windows zip file at the following link http://www.arduino.cc/en/Main/OldSoftwareReleases is also corrupted. Does anyone have a validated solution?
Image Analyst
Image Analyst 2015 年 6 月 25 日
I downloaded it and the zip file opened fine. What indicates to you that the files in the zip archive are corrupted?
Jonathan
Jonathan 2015 年 6 月 26 日
Just to add to Liang Xuan's answer (which I found to be only part of the solution), once you've copied the zip file into the Matlab support packages folder as he suggested, you should then install the add-on by clicking Add-Ons/Get Hardware Support Packages then Install from folder. Navigate to the folder with the zip file and install the package from there. Worked for me.
I found if I tried to download from the web, via Matlab, then Matlab would try to install from a corrupt zip file. Basically, to get round the problem you have to download the zip file yourself from the Arduino website, copy it to the folder, then install the package from that folder.
Mahesh
Mahesh 2017 年 2 月 7 日
it worked for me tooo

サインインしてコメントする。

joel oguntoye
joel oguntoye 2015 年 10 月 13 日

0 投票

Someone help please When I select install from folder after putting the zip file in the >supportpackages>r2015/downloads folder I still get an error message saying ..."folder does not contain valid installation file"

2 件のコメント

Image Analyst
Image Analyst 2015 年 10 月 13 日
Contact the Mathworks, not us, for all installation issues. It's free, and they know more and can do more than us.
Madhu Govindarajan
Madhu Govindarajan 2015 年 10 月 15 日
I agree with Image Analyst that MathWorks Technical Support will do a better job with installation issues than any one of us here can.

サインインしてコメントする。

kami khosr
kami khosr 2016 年 11 月 20 日

0 投票

might be a bit late , but this method worked for me. I just followed jonathan's answer on xuan comment except that I had to turn off internet. It seems like even if you choose the folder (rather than from internet), MATLAB tries to download the currupted file. hope this helps.
cheers

カテゴリ

ヘルプ センター および File ExchangeIntroduction to Installation and Licensing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by