External monitor crashes MATLAB R2023b

9 Ansichten (letzte 30 Tage)
Chad Greene
Chad Greene am 8 Jan. 2024
Beantwortet: Saurabh am 30 Jul. 2024
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.

Antworten (2)

Pooja Kumari
Pooja Kumari am 10 Jan. 2024
Bearbeitet: Pooja Kumari am 10 Jan. 2024
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 am 30 Jul. 2024
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.

Kategorien

Mehr zu Startup and Shutdown finden Sie in Help Center und File Exchange

Tags

Produkte


Version

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by