Anyway to run MATLAB in the new Mac OS X?

3 ビュー (過去 30 日間)
J
J 2012 年 2 月 18 日
コメント済み: Walter Roberson 2015 年 7 月 2 日
I have OS X 10.8 and it says MATLAB can't run because it relies on X11, which has been replaced/discontinued in OS X 10.8. XQuartz is now used exclusively by Apple and while I have the X11 program the operating system intentionally ignores it.
Does anyone else have 10.8 yet? Any work around?
  5 件のコメント
Carlos Parra
Carlos Parra 2012 年 7 月 29 日
Oh! I forgot... You first need to install XQuartz, which is the defacto xwindow manager after Apple nixed X11.
Krzysztof
Krzysztof 2012 年 8 月 22 日
Some good advice - if you're serious about MATLAB then do not upgrade to OS X 10.8 - MATLAB's integration into Mountain Lion is just god-awful (10s delays between clicking the cursor and it registering on screen are normal on my top-of-the-line Retina with extra RAM)

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

回答 (5 件)

Ken Atwell
Ken Atwell 2012 年 7 月 30 日
編集済み: Randy Souza 2012 年 8 月 28 日
Mountain Lion is released -- here is official information on MATLAB compatibility.

Ken Atwell
Ken Atwell 2012 年 2 月 18 日
Try installing XQuartz version 2.7.1.
  2 件のコメント
J
J 2012 年 2 月 18 日
Thanks but it comes pre-installed with OS X 10.8; doesn't help. I think it "too new". MATLAB says "X11 version 1.1.3 or greater is required.
For OS X 10.5 or later, X11 is available on the OS X installation DVD. Please find and run the Optional Installs.mpkg installer."
Colton Mathis
Colton Mathis 2012 年 2 月 18 日
Actually, J, X11 is not included with 10.8. You do need to install it. See my answer below.

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


Colton Mathis
Colton Mathis 2012 年 2 月 18 日
I ran into the same problem you did after just installing 10.8. At first, it told me I needed to install X11. I did, and then it said MATLAB couldn't open because it was experiencing an error. So, I restarted, updated X11 through the program itself (for some reason, the latest version isn't available for download on their site), uninstalled/reinstalled MATLAB, and now it all works perfectly!
  1 件のコメント
Bryan
Bryan 2012 年 2 月 27 日
Could you tell us where you got X11, what version worked and what version of MATLAB you are running? thank you.

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


Jesus Rogel-Salazar
Jesus Rogel-Salazar 2012 年 7 月 29 日
I had a similar issue and managed to get it running (after a while) running the application directly form XQuartz xterm.
In a nutshell, I used the -maci flag at the end and that seemed to do the trick.
  1 件のコメント
Ken Atwell
Ken Atwell 2012 年 7 月 30 日
Glad you got itworking, and thanks for sharing the tips. The -maci flag suggests you have an older 32-bit MATLAB installation. I believe more recent 64-bit versions of MATLAB will work "as is" after the installation of XQuartz, without needing to resort to terminal tricks.

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


Charles Flaum
Charles Flaum 2015 年 7 月 1 日
編集済み: Charles Flaum 2015 年 7 月 1 日
To make Matlab 2010 or earlier run on Yosemite (10.10) or later you need the following steps:
1. Yosemite does not come with X11. You need to install it - use XQuartz 2.7.7. It is possible the XQuartz Installer will not install in the right folder. Make sure the X11 folder is in /opt (/opt/X11).
2. To enable help menus and doc browsers you need to install Matlab Java Patch.
Unfortunately, Mathworks released the patch tied to individual Matlab versions starting with 2101a. In order to install it with Matlab 2010a/b you need to copy the patch files in "patch" folder of the release into the Java folder of the contents of Matlab 2010a/b. Alternately, you can edit the script "main.scpt" inside the resources/scripts folder of the contents of the patch app, to replace all instances of the target version to the version you want to patch and then run the app.
With these steps you will be able to run matlab directly from the Applications folder and all the help windows will work properly.
  1 件のコメント
Walter Roberson
Walter Roberson 2015 年 7 月 2 日
Note however that Yosemite does not offer the 32 bit kernel interface so it will not run 32 bit versions of MATLAB.

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

カテゴリ

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