Problem of opening matlab2020 on Mac

2 views (last 30 days)
Yitong Jiang
Yitong Jiang on 1 Apr 2020
Commented: yi yang on 12 Sep 2020
Hello everyone,
i have a problem when i finished downloading Matlab2020a on Mac from the student pack. Once i tried to open it, it started with a window and closed automatically.
Is this a universe problem and how could i resolve it? Thank you.
Yitong
  4 Comments
smsinks
smsinks on 2 Apr 2020
The same this happens on my MacBook Pro running macOS Catalina 10.15.3.
Matlab 2020a can only open through the Terminal (using "/Applications/MATLAB_R2020a.app/bin/matlab").
Double-clicking the Matlab icon does not open Matlab. Now running Matlab from terminal has its issues.
I hope MathWorks resolves this issue.
Yitong Jiang
Yitong Jiang on 2 Apr 2020
Actually, i have followed your suggestion on using Terminal but it fails on showing this:
/Applications/MATLAB_R2020a.app/bin/matlab
(base) kyouosamudoutekiMacBook-Air:~ jiangyitong$ /Applications/MATLAB_R2020a.app/bin/matlab
Cannot locate or initialize class com/mathworks/jmi/OpaqueJavaInterface.
java.lang.NoClassDefFoundError: com/mathworks/jmi/OpaqueJavaInterface
Caused by: java.lang.ClassNotFoundException: com.mathworks.jmi.OpaqueJavaInterface
at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
(base) kyouosamudoutekiMacBook-Air:~ jiangyitong$

Sign in to comment.

Answers (1)

Sai Bhargav Avula
Sai Bhargav Avula on 6 Apr 2020
Hi,
There are a few reasons the MATLAB installer might fail to run on MacOS,
System Requirements
Ensure that the release of MATLAB that you are attempting to install is compatible with the version of MacOS that is installed on your Mac:
To determine the version of MacOS that you are running:
  • Click on the Apple Menu in the upper left-hand corner of the screen
  • Click "About This Mac"
Permissions
Your account must have administrative permissions to install MATLAB. If you do not have administrative permissions on your Mac, contact your system administrator.
Multiple installers
On MacOS, the installer folder contains two installers:
  • InstallForMacOSX.app
  • install
The first option is the standard graphical MATLAB installer. The second option is only for installing MATLAB from the Terminal. These are not interchangeable: if installing graphically, use InstallForMacOSX.app, if installing from the Terminal, use install. For more information on installing from the Terminal, see the MATLAB documentation:Install Noninteractively (Silent Installation)
4. Security software
Security and antivirus software may prevent you from installing MATLAB. Temporarily disable your security software, or add MATLAB to your security software's whitelist, to launch the installer.
5. Third-party archive tool
If you have installed third-party archive tools such as The Unarchiver or WinZip for Mac, make sure you extract the installer before running it. The installer cannot be run from inside the zip archive it was downloaded in, and must be extracted to a folder before it will run.
4. Security software
Security and antivirus software may prevent you from installing MATLAB. Temporarily disable your security software, or add MATLAB to your security software's whitelist, to launch the installer.
5. Third-party archive tool
If you have installed third-party archive tools such as The Unarchiver or WinZip for Mac, make sure you extract the installer before running it. The installer cannot be run from inside the zip archive it was downloaded in, and must be extracted to a folder before it will run.
Hope this helps!
  2 Comments
Daniel Monteiro
Daniel Monteiro on 5 May 2020
This applies only for the installer I think - still doesn't resolve the issue of opening the application that's already downloaded
yi yang
yi yang on 12 Sep 2020
met the same error. i could open the matlabR2020 but it's get stuck there and i have to close it forcely.

Sign in to comment.

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!