External monitor crashes MATLAB R2023b

9 次查看(过去 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 CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

标签

产品


版本

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by