MATLAB Answers

1

Cannot install MatLab on my Windows 10 Laptop

Asked by Joseph Bacon on 22 Feb 2019
Latest activity Answered by Alexei Jolkin about 6 hours ago
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. {:-(

  0 Comments

Sign in to comment.

4 Answers

Answer by Joseph Bacon on 13 Mar 2019
 Accepted Answer

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."

  1 Comment

Sign in to comment.


Answer by Jan
on 22 Feb 2019
Edited by 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

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.


Answer by 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
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.


Answer by Alexei Jolkin 14 minutes ago

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!

  0 Comments

Sign in to comment.