Clear Filters
Clear Filters

External monitor crashes MATLAB R2023b

6 views (last 30 days)
Chad Greene
Chad Greene on 8 Jan 2024
Edited: Pooja Kumari on 10 Jan 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.

Answers (1)

Pooja Kumari
Pooja Kumari on 10 Jan 2024
Edited: Pooja Kumari on 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!

Categories

Find more on Interactive Control and Callbacks in Help Center and File Exchange

Tags

Products


Release

R2023b

Community Treasure Hunt

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

Start Hunting!