External monitor crashes MATLAB R2023b

11 ビュー (過去 30 日間)
Chad Greene
Chad Greene 2024 年 1 月 8 日
回答済み: Saurabh 2024 年 7 月 30 日
Using OSX 13.6.3, whenever I connect or disconnect my external monitor, all text in the MATLAB editor goes blank and I get a spinning pinwheel until I Force Quit MATLAB.

回答 (2 件)

Pooja Kumari
Pooja Kumari 2024 年 1 月 10 日
編集済み: Pooja Kumari 2024 年 1 月 10 日
Hi Chad,
It is my understanding that you are facing issues with MATLAB editor. Here are few troubleshooting steps you can follow:
1. Running MATLAB while connecting external monitor:
  1. Exit MATLAB respectively from all MATLAB's running on the external monitor.
  2. Plug in macOS with external monitor.
  3. Start MATLAB.
  4. Open a new or existing .m file and - if available - a .mlx file. Check the .m file or the .mlx file displayed correctly or not.
2. macOS typically handles graphics drivers with system updates, so make sure your system is up to date.
3.You can use the OpenJDK 8 JRE to work around this issue.
  1. Install Adoptium OpenJDK 8 JRE (.pkg version) from https://adoptium.net/temurin/releases/?version=8&os=mac.
  2. Note the path of the JRE installation folder.
  3. Configure MATLAB to use the OpenJDK 8 JRE by following insturctions from the following workaround provided in the MATLAB answer: https://www.mathworks.com/matlabcentral/answers/103056-how-do-i-change-the-java-virtual-machine-jvm-that-matlab-is-using-on-macos
  4. Launch MATLAB and call “version -java” to verify that the Java version indicates “OpenJDK”.
Hope this helps!

Saurabh
Saurabh 2024 年 7 月 30 日
Hi Chad,
The problem that you are facing when connecting or disconnecting the External monitor is a known issue and is being currently addressed by the MathWorks. The same information can be found here:
As a workaround, you will want to disconnect any external displays from the computer and launch MATLAB. If MATLAB is still unable to start, possible workaround for running dual monitors:
  • Issues may arise If the external monitor is set to the primary display. Specifically, MATLAB may not load beyond the splash screen.
  • To resolve this issue, set the built-in display as the primary display: System Preferences > Displays > Arrangement > Drag menu bar to built-in display.
For more information refer the link:
I hope this was helpful.

カテゴリ

Help Center および File ExchangeStartup and Shutdown についてさらに検索

タグ

製品


リリース

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by