필터 지우기
필터 지우기

When closing the figure, Matlab pending will appear. Please tell me how to fix it? Thx

조회 수: 12 (최근 30일)
rty
rty 2023년 11월 2일
답변: Sanchari 2023년 11월 15일
When closing the figure, Matlab pending will appear. My computer is MacBook ai r with apple silicon M2 chip, macOS sonoma 14.1, and matlab is the latest version. Please tell me how to fix it? Thx

답변 (1개)

Sanchari
Sanchari 2023년 11월 15일
Hello,
I understand that you are facing an issue “MATLAB pending” while trying to close a figure.
This seems to be a common problem among macOS Sonoma users. Please follow the steps below:
  1. Check System Requirements: Please go through the system requirements to support your MATLAB version. You can find them here: https://www.mathworks.com/support/requirements/apple-silicon.html
  2. Focus on another window: If the problem is just regarding closing figures (via the X in the figure window), then the quickest workaround is to make sure that the window focus is not on the window when you are closing (i.e., click on literally any other window), before you hit the X.
  3. Use “close” function: You can also use the “closefunction command to close figures instead of the X. To close the figure from the MATLAB command window, type “close” to close the current figure or “close(figureHandle)” to close a specific figure by its handle. For multiple figures, use “close(figureHandle1, figureHandle2, figureHandle3,…)” instead. To close all figures, use “close all”.
You can further find more about this in the following MATLAB Answer discussion:
  1. https://www.mathworks.com/matlabcentral/answers/2027964-matlab-crash-on-sonoma-macos-14-0?s_tid=srchtitle
  2. https://www.mathworks.com/matlabcentral/answers/1808195-matlab-r2022a-freezes-on-macos-monterey-12-5-1-when-closing-a-figure#answer_1324680
Hope this helps!

카테고리

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