MATLAB Answers

Cannot install MatLab on my Windows 10 Laptop

610 ビュー (過去 30 日間)
Joseph Bacon
Joseph Bacon 2019 年 2 月 22 日
コメント済み: Jan 約7時間 前
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. {:-(
  3 件のコメント
Ariella Stepleman
Ariella Stepleman 2021 年 3 月 7 日
Oh my god I am having the same exact issue with the same exact laptop!!

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

採用された回答

Joseph Bacon
Joseph Bacon 2019 年 3 月 13 日
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 件のコメント
Ariella Stepleman
Ariella Stepleman 2021 年 3 月 7 日
Took me three tries, but I finally got it! Thank you thank you thank you thank you.

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

その他の回答 (7 件)

Jan
Jan 2019 年 2 月 22 日
編集済み: Jan 2019 年 2 月 22 日
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 件のコメント
Steven Lord
Steven Lord 2019 年 2 月 22 日
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.

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


Joseph Bacon
Joseph Bacon 2019 年 2 月 25 日
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 件のコメント
Jan
Jan 2019 年 2 月 25 日
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.

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


Alexei Jolkin
Alexei Jolkin 2019 年 11 月 22 日
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 2021 年 1 月 21 日
編集済み: Siddharth Magadum 2021 年 1 月 21 日
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.

Al Rodriguez
Al Rodriguez 2021 年 3 月 5 日
This does not work. I did it and had the same problem
  1 件のコメント
Steven Lord
Steven Lord 2021 年 3 月 5 日
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.

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


Arinc Yilmaz
Arinc Yilmaz 2021 年 3 月 24 日 13:09
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 件のコメント
Kaan Çelik
Kaan Çelik 2021 年 4 月 2 日 10:44
Solved. My username folder had non-ASCII character, it prevent running the installation. You can solve this problem like this.

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


Jonathan Solano
Jonathan Solano 2021 年 4 月 19 日 8:20
cannot extract matlab2021a
  1 件のコメント
Jan
Jan 約7時間 前
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.

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

Community Treasure Hunt

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

Start Hunting!

Translated by