Problem of opening matlab2020 on Mac

15 ビュー (過去 30 日間)
Yitong Jiang
Yitong Jiang 2020 年 4 月 1 日
コメント済み: yi yang 2020 年 9 月 12 日
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 件のコメント
smsinks
smsinks 2020 年 4 月 2 日
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 2020 年 4 月 2 日
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$

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

回答 (1 件)

Sai Bhargav Avula
Sai Bhargav Avula 2020 年 4 月 6 日
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 件のコメント
Daniel Monteiro
Daniel Monteiro 2020 年 5 月 5 日
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 2020 年 9 月 12 日
met the same error. i could open the matlabR2020 but it's get stuck there and i have to close it forcely.

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

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by