Problem of opening matlab2020 on Mac

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 Commenti

Yitong - what is your OS? Is it supported (for 2020a) according to MATLAB requirements?
It is MacOs High sierra version 10.13.06. Normally it should be working according to the requirements.
The problem is that like a "flashback", when i open it, it will be closed by itself immediately.
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.
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$

Accedi per commentare.

Risposte (1)

Sai Bhargav Avula
Sai Bhargav Avula il 6 Apr 2020

0 voti

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 Commenti

This applies only for the installer I think - still doesn't resolve the issue of opening the application that's already downloaded
met the same error. i could open the matlabR2020 but it's get stuck there and i have to close it forcely.

Accedi per commentare.

Categorie

Richiesto:

il 1 Apr 2020

Commentato:

il 12 Set 2020

Community Treasure Hunt

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

Start Hunting!

Translated by