i was installing the hardware package ( using the internet ) but my internet went off in the middle of it since then i can't install it ... i keep getting this message (Fatal Alert : Protocol_version) and then it says that matlab is in the middle of a downloading operation ... Thanks for your help

8 commentaires

David
David le 24 Fév 2018
I'm having the same issue, although my internet was connected the entire time. I've tried on three computers: two on a company network that requires proxy and one on my home network/no proxy in case that has something to do with it. I've tried rebooting / running matlab as administrator / downloading the package installer separately. Nothing has worked. Two of the computers are Win10 and one is Win 7. Matlab version is R2015b and the add-on I'm trying is MinGW 4.9.2. I installed this exact combination (R2015b / MinGW) on a different Win10 computer ~ 1 month ago without issue. Help! Thanks!
Akshay Kumar
Akshay Kumar le 16 Mar 2018
i have the same problem please help me, what should i do
Bartholomew Briggs
Bartholomew Briggs le 2 Oct 2018
Modifié(e) : Walter Roberson le 26 Mar 2019
Java.opts solution did not work for me, but this did:
"""
Just download and install to the "C:\TDM-GCC-64" folder
3) In matlab call the
setenv('MW_MINGW64_LOC','C:\TDM-GCC-64')
4) In matlab call the
mex -setup
"""
Working solution was provided by Hasan Sari in the comments section of the MATLAB Add-on page for the MinGW-w64 C/C++ Compiler (Home-->Add-Ons-->Search"mingw"-->Select"MATLAB Support for MinGW-w64 C/C++ Compiler ")
md wasim
md wasim le 3 Déc 2018
I'm having the same issue during arduino package installation, although my internet was connected the entire time. I've tried many times. I've tried rebooting / running matlab as administrator / downloading the package installer separately. Nothing has worked. My computers is Win 7. Matlab version is R2015a. Please help me. Thanks!
Sanjeev B
Sanjeev B le 6 Déc 2018
hi all,
even am facing the same problem while installing arduino package. kindly help me
thanking you all in advance
febin m
febin m le 10 Jan 2019
i have same problem, can you help me ?, i use this tutorial still not work. I use malab r2015a
Temitope Isaiah
Temitope Isaiah le 26 Mar 2019
how do i 'MW_MINGW64_LOC','C:\TDM-GCC-64'
Walter Roberson
Walter Roberson le 26 Mar 2019
That is a setenv() call that is shown. Copy the whole setenv call and paste it at the command line.

Connectez-vous pour commenter.

 Réponse acceptée

Bui Tuan
Bui Tuan le 2 Mar 2018
Modifié(e) : Walter Roberson le 8 Mar 2018

7 votes

Hello everyone.This is Mathworks's solution for this issue. I have successfully installed the support package. https://www.mathworks.com/matlabcentral/answers/385789-why-do-i-encounter-a-received-fatal-alert-protocol_version-when-installing-a-support-package-in-ma

4 commentaires

Andris Kuciks
Andris Kuciks le 2 Mar 2018
Worked for me as well! Thank you!
Phuong Nguyen
Phuong Nguyen le 10 Déc 2018
46473278_983563311843459_6272820562104418304_n.jpg
How i can fix this erro ????
help me plz
Phuong Nguyen
Phuong Nguyen le 10 Déc 2018
Modifié(e) : Phuong Nguyen le 10 Déc 2018
i'm using matlab 2016a with window 10
Crystal Li
Crystal Li le 16 Mar 2019
Have you fix it? I'm facing the same error.

Connectez-vous pour commenter.

Plus de réponses (7)

David
David le 28 Fév 2018

3 votes

Putting this in as an answer instead of just a comment. Sorry for the duplication.
I've received two separate responses from Mathworks:
1 - There is an outage for a number of support packages and they're working on a resolution
2- for MinGW Ad-On for 4.9.2 specifically:
We have been running into issues with the MinGW Add-On for 4.9.2 that our developers are currently investigating.
One possible workaround to the MinGW installation issue is to manually download MinGW, and link MATLAB to the installation with an environment variable. To do so, download and install MinGW from the following location: https://sourceforge.net/projects/tdm-gcc/files/TDM-GCC%20Installer/Previous/1.1309.0/tdm64-gcc-4.9.2.exe/download
Be sure to uncheck "Check for updated files on the TDM-GCC server" when running the installer to insure version 4.9.2 is installed.
Once the installation has finished, create an environment variable named MW_MINGW64_LOC, and set the location to the folder where MinGW was installed. For example, if you chose to install at the default C:\TDM-GCC-64 location, you will set the variable to "C:\TDM-GCC-64".
To set the environment variable, open the Control Panel, and go through the options System > Advanced System Settings > Advanced tab > Environment Variables. Be sure to declare the MW_MINGW64_LOC variable in the System Variables section rather than the User Variables section. After setting the variable, hit OK and Apply on all menus to have the variable assigned.
When complete, you should be able to start MATLAB and run "mex -setup" and have the MinGW compiler recognized
These instructions worked for me.

1 commentaire

David
David le 28 Fév 2018
FYI - don't include the quotes in "C:\TDM-GCC-64" when putting it into the environment variable.

Connectez-vous pour commenter.

Andrés BELISARIO
Andrés BELISARIO le 3 Avr 2019
Modifié(e) : Walter Roberson le 22 Juil 2019

3 votes

%% -- T H E S O L U T I O N O F Y O U R P R O B L E M I S H E R E -----
Thank you Mathworks..!!

4 commentaires

prasanna samarakoon
prasanna samarakoon le 12 Juin 2019
it's working thank you!
Gareth Bale
Gareth Bale le 22 Juil 2019
Prasanna, What is your matlab version?
Diego Majluff
Diego Majluff le 6 Août 2019
Thank you. Now working.
Angel Rodríguez
Angel Rodríguez le 29 Jan 2020
So much thanks, it worked perfectly!

Connectez-vous pour commenter.

Tarun Cousik
Tarun Cousik le 26 Fév 2018

1 vote

Ebram & David,
I'm facing the same issue. Windows 10, R2016a. Did you find a solution?

2 commentaires

David
David le 26 Fév 2018
I haven't found a fix yet. I just issues a MathWorks support case: 02974148
POOJA Verma
POOJA Verma le 16 Juil 2018
any solution for the same issue in R2016a??

Connectez-vous pour commenter.

Talbi anis
Talbi anis le 17 Mar 2020

1 vote

hi guys,
you can find the solution of the problem here :

3 commentaires

prap pha
prap pha le 21 Mai 2020
Modifié(e) : prap pha le 21 Mai 2020
works for me!!
Mehdi Mch
Mehdi Mch le 14 Oct 2020
Thank you so much, it works for me
Isidoros Tsaousis
Isidoros Tsaousis le 9 Mai 2022
Worked for me too

Connectez-vous pour commenter.

Andris Kuciks
Andris Kuciks le 28 Fév 2018
Modifié(e) : Andris Kuciks le 28 Fév 2018

0 votes

Same problem when trying to download support package for Raspberry PI on R2017a

2 commentaires

Andris Kuciks
Andris Kuciks le 1 Mar 2018
About my problem, I sent a service request and the only thing that MathWorks could suggest me was that I should install R2017b. The full MathWors answer:
Thank you for contacting MathWorks Support. This error is currently being investigated by MathWorks. As this only affects MATLAB releases at or before R2017a, the only current workaround is to install MATLAB R2017b.
There is currently no ETA for when this will be resolved, but I will keep you informed as we receive updates.
barnou majid
barnou majid le 19 Oct 2018
do this you will solve the probleme https://www.mathworks.com/matlabcentral/answers/385789-why-do-i-encounter-a-received-fatal-alert-protocol_version-when-installing-a-support-package-in-ma

Connectez-vous pour commenter.

Junel Fronda
Junel Fronda le 28 Fév 2018
Modifié(e) : Junel Fronda le 28 Fév 2018

0 votes

Same here.
Installing Arduino Support Package for MATLAB R2014b
Download Failed: Received fatal alert: protocol_version

4 commentaires

Hamza Bilal
Hamza Bilal le 1 Mar 2018
have you found any solution? if any please tell me...
Mohammed El-Sharkawy
Mohammed El-Sharkawy le 1 Mar 2018
not yet !
Kirollos Safwat
Kirollos Safwat le 9 Mar 2018
Modifié(e) : Kirollos Safwat le 9 Mar 2018
I'm having exactly the same problem as yours would you kindly please inform me with any possible solution for this error . E-mail : kirollos.z12015@gmail.com Thanks in advance

Connectez-vous pour commenter.

Hasan
Hasan le 15 Sep 2018

0 votes

Hello there. Finally, I have found a simple solution to this issue. Just you need to download the attached file, and then you must unzip the file. After that, you will find two folders; which are: bin and bugreport.
First step: open the bin folder, and copy the file that appears in it then paste it in your MATLAB folder in your C drive inside the bin folder.
The second step is that copy bugreport folder as is and paste it inside matlab folder.
Regards Hasan

8 commentaires

Walter Roberson
Walter Roberson le 16 Sep 2018
The attached appears to be have been a copy of the .zip associated with https://www.mathworks.com/support/bugreports/1741173, the active part of which is a replacement java.opts . This is the same thing that the accepted answer by Bui Tuan leads to.
As Mathworks requires people to log in and go through a click-wrap agreement before using the attachment, I think it would not be acceptable to post the attachment without that layer of authorization, so I have deleted the attachment here.
Leonard Mabele
Leonard Mabele le 17 Oct 2018
This worked for me Hasan. Thanks a lot!
Hamlet López
Hamlet López le 8 Nov 2018
Worked for me as well! Thank you Hasan.
Vincent Beemer
Vincent Beemer le 21 Fév 2020
Thank you so much?
Problem solved ???
Surabhi
Surabhi le 3 Mar 2020
Worked for me also. Thanks
mohamed abdelsamad
mohamed abdelsamad le 15 Mar 2020
i have this new problem did any one have a solution
Vishal Suman
Vishal Suman le 28 Août 2021
Modifié(e) : Walter Roberson le 28 Août 2021
Protocol_version error that occurs in MatlabR2016a for Instaling a matlab support package for Arduino hardware how to solve it https://www.mathworks.com/support/bugreports/1741173 this is doesn't work in matlab R2016a so give fix Answer to solve this kind of problem. Thank you Sir

Connectez-vous pour commenter.

Catégories

Community Treasure Hunt

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

Start Hunting!

Translated by