MATLAB Answers

Error installing third party package Arduino software: Invalid zip file

조회 수: 79(최근 30일)
Hanin
Hanin 2014년 3월 13일
댓글: Sarah Herda 2020년 11월 26일
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.
  댓글 수: 5

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

채택된 답변

Shaima Al Hebsi
Shaima Al Hebsi 2017년 1월 7일
편집: Shaima Al Hebsi 2017년 1월 7일
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.
  댓글 수: 19
Sarah Herda
Sarah Herda 2020년 11월 26일
don't work for me (The specified key is not present in this container.)

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

추가 답변(10개)

Michal Swoboda
Michal Swoboda 2015년 6월 25일
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일
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

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


Muhammad Usman Khan
Muhammad Usman Khan 2018년 2월 28일
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일
Suffering from the same error in MATLAB 2017a. Anybody help me!

Image Analyst
Image Analyst 2014년 3월 13일
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?

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



Liang Xuan
Liang Xuan 2015년 6월 24일
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

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


joel oguntoye
joel oguntoye 2015년 10월 13일
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
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일
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

Community Treasure Hunt

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

Start Hunting!

Translated by