MATLAB Answers

Cannot install MatLab on my Windows 10 Laptop

545 views (last 30 days)
I'm at my wit's end trying to install MatLab. I have homework that's due, and it won't install for me.
I have a "Lenovo ideapad" laptop with a Windows 10 operating system.
I have already loaded my key onto MathWorks and downloaded the installer. I clicked on "Log In with a MathWorks account" and accepted the terms. I typed in my correct MathWorks account name and password. I only have one license, so it was already highlighted; I've also tried clicking on it to make sure it was selected. It asks me to choose an installation folder, and I accept the default folder name they suggest. After I click on "Next" from this point, it brings up a window that says the following:
"Connection Error
" The application could not connect to MathWorks.
"For more information on resolving this issue, see this Support Article"
After clicking on "OK", it takes me back to the screen I was just at, for choosing an installation folder.
I checked the support article the link led me to, but nothing has helped so far. I have no clue why it won't connect. Keep in mind that this is the MathWorks Installer program; I haven't been able to install MatLab yet.
Please help??? Nobody at my school knew what to do about this either. {:-(
  4 Comments
VINCENT KIPCHUMBA
VINCENT KIPCHUMBA on 1 Jun 2021
I have the same same issue ,I have tried several time

Sign in to comment.

Accepted Answer

Joseph Bacon
Joseph Bacon on 13 Mar 2019
I appreciate everyone's help.
I was able to call the contact number and they got me in touch with the Install Team.
It turns out that the problem was very simple: My computer just needed two environment variables set. After those were set and I restarted the installation program, everything worked as it should.
In case someone reading this has the exact same problem, here are the fixing instructions (keep in mind I'm on a Lenovo laptop with a Windows 10 operating system):
First, he had me do a "start menu"/Cortana search for "Environment Variables".
"Once in the Environment variable menu please use the steps below to set both system environment variables:
  1. Under System Variables, select New.
  2. Set the first variable name "JAVA_TOOL_OPTIONS" with the value of "-Djava.net.preferIPv4Stack=true" (enter these without the quotation marks)
  3. select New again.
  4. Set the second variable name "JAVA_OPTIONS" with the value of "-Djava.net.preferIPv4Stack=true" (enter these without the quotation marks) and click on OK
  5. Click OK again on the previous screen and try the installer again.
"NOTE: Once the installation is complete you can remove these environment variables."
  10 Comments
Ariella Stepleman
Ariella Stepleman on 7 Mar 2021
Took me three tries, but I finally got it! Thank you thank you thank you thank you.

Sign in to comment.

More Answers (7)

Al Rodriguez
Al Rodriguez on 5 Mar 2021
This does not work. I did it and had the same problem
  1 Comment
Steven Lord
Steven Lord on 5 Mar 2021
If the instructions on this page don't help you resolve the problem and successfully install the software, contact Technical Support using the Contact Support link on the Support section of this website.

Sign in to comment.


Jan
Jan on 22 Feb 2019
Edited: Jan on 22 Feb 2019
Did you read it? Does the given solution help? If not, please mention, what you have tried. Firewall, Proxy, Anti-Virus software, destination not a local disk?
  1 Comment
Steven Lord
Steven Lord on 22 Feb 2019
If the instructions on that page don't help you resolve the problem and successfully install the software, contact Technical Support using the Contact Us link in the upper-right corner of this page for installation help.

Sign in to comment.


Joseph Bacon
Joseph Bacon on 25 Feb 2019
I didn't think the advice applied to me since my McAfee is no longer active. It didn't occur to me until recently that there's got to be a place to disable Windows Defender.
Following the advice in the support article, I just found my Windows Defender Security Center and disabled "Real-time Protection", "Cloud-delivered Protection", and "Automatic Sample Submission" (all that was listed that I could disable). However, it didn't make a difference. It still gives me the same error. {:-(
Thanks for showing me the contact page. I'm calling now (if they're open) and will post/edit this post with the results. I'm trusting they'll be able to help me.
  1 Comment
Jan
Jan on 25 Feb 2019
The page mentions more problems, not only the virus protection: Firewall, Proxy, destination not a local disk? Several user mentiones, that the installation runs, when the files are stored on the local C disk.

Sign in to comment.


Alexei Jolkin
Alexei Jolkin on 22 Nov 2019
Connection Error
" The application could not connect to MathWorks."
As many other Matlab users I am on a corporate network with lots of cooky stuff which I have no control of whatsoever. I've wasted a day tweaking Proxy, Firewall and Java (Antivirus is absolutely out of my control). Still could not install Matlab.
However I could instal Matlab AFTER uninstalling a program named ZScaler and all of it instances from the "Apps & Features" dialog (Add or remove programs system setting). This miserable ZScaler is a part of some sort of corporate cloud solution and messes things up pretty badly.
Ripp this ZScaler off your computer and you will be able to install Matlab. All my cloud drives still work, at least in te office area. I am on W10.
Good luck!

Siddharth Magadum
Siddharth Magadum on 21 Jan 2021
Edited: Siddharth Magadum on 21 Jan 2021
This did work for me for the first time. But I didn't complete the installation process (as I was not sure which all products I needed to install). Now when I run the installer, I face the same connection error mentioned above.
Does anyone know how to fix this?
Thanks in advance.

Arinc Yilmaz
Arinc Yilmaz on 24 Mar 2021
Microsoft windows 10 home single language is already installed on my computer. I downloaded the matlab and then extracted file but when I try to install it by clicking setup icon but it doesn't work. Mouse icon shows try to working on but nothing happens. Please help
  2 Comments
Kaan Çelik
Kaan Çelik on 2 Apr 2021
Solved. My username folder had non-ASCII character, it prevent running the installation. You can solve this problem like this.

Sign in to comment.


Jonathan Solano
Jonathan Solano on 19 Apr 2021
cannot extract matlab2021a
  1 Comment
Jan
Jan on 20 Apr 2021
This message does not contain enough information to suggest a solution. Do you try to unzip the downloaded files? This does not work. Only the installer can unzip them appropriately.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!