The Command Window needs two mouse clicks to actually be active.

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.

 Réponse acceptée

Shuba Nandini
Shuba Nandini le 26 Avr 2023
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 commentaires

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.
Totally agree with you Geert.
Is a solution likely anytime soon? It is an incredibly annoying bug.
Thanks
Dear Ben, I completely agree. This is annoying and considerably slows our workflow.
This is a constant problem. Really frustrating and slows me down.
Agreed. Would like to see this fixed!
This problem is still occuring for my installation of R2023b, is it fixed in R2024a?
The problem is still present in R2024a.
This issue is still present on R2024b. In fact, it seems more prevalent than it used to be.
Still present in 2025b
Paul Richardson
Paul Richardson le 13 Nov 2025
Modifié(e) : Paul Richardson le 13 Nov 2025
It is very annoying since if you click only once and start typing it can write into your editor.
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.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

Produits

Version

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by