The Command Window needs two mouse clicks to actually be active.
You are now following this question
- You will see updates in your followed content feed.
- You may receive emails, depending on your communication preferences.
An Error Occurred
Unable to complete the action because of changes made to the page. Reload the page to see its updated state.
Show older comments
2 votes
Afte running the following code
figure(1)
plot([1 2 3],[1 2 3])
I need to click two times over the Command Window to actually bring it to focus.
This seems to be an issue only on macOS. I'm running Matlab 2023a on macOS Ventura.
Accepted Answer
Shuba Nandini
on 26 Apr 2023
0 votes
Hello,
This is a known issue, and we will be working on this. Meanwhile, please try the workaround as given below:
Closing the plot window and clicking once on the command window brings it to focus.
I hope this helps!
12 Comments
Geert Knapen
on 26 Apr 2023
This problem has been around for quite awhile now and is super annoying.
Closing the plot window is not an option as I need the plot window to inspect my results and I need the CommandWindow to interact with the plot.
Victor de Lafuente
on 26 Apr 2023
Totally agree with you Geert.
Ben Ward
on 24 May 2023
Is a solution likely anytime soon? It is an incredibly annoying bug.
Thanks
Victor de Lafuente
on 24 May 2023
Dear Ben, I completely agree. This is annoying and considerably slows our workflow.
Dana Massie
on 21 Jul 2023
This is a constant problem. Really frustrating and slows me down.
James Schroeder
on 3 Aug 2023
Agreed. Would like to see this fixed!
Ben
on 4 Apr 2024
This problem is still occuring for my installation of R2023b, is it fixed in R2024a?
Victor de Lafuente
on 12 Apr 2024
The problem is still present in R2024a.
Matthew Cassini
on 22 Apr 2025
This issue is still present on R2024b. In fact, it seems more prevalent than it used to be.
Jose
on 7 Nov 2025
Still present in 2025b
Paul Richardson
on 13 Nov 2025
Edited: Paul Richardson
on 13 Nov 2025
It is very annoying since if you click only once and start typing it can write into your editor.
Paul Richardson
on 13 Nov 2025
Closing the window is not a workaround unless you have no interest in the plot that you just created, which at least for me is not at all common.
More Answers (0)
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
See Also
on 17 Apr 2023
on 13 Nov 2025
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)