The function commandwindow should bring the focus to the Command Window, but it fails to do so in macOS
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Victor de Lafuente
le 21 Avr 2023
Réponse apportée : Eshan Patel
le 26 Avr 2023
The function commandwindow should bring the focus to the Command Window, but it fails to do so in macOS.
Try it, it actually moves the cursor to the command window, but you will be unable to write or press enter. Only the up and down arrows work.
This happens in macOS Ventura, Matlab R2023a.
0 commentaires
Réponse acceptée
Eshan Patel
le 26 Avr 2023
Hi Victor,
I understand that you are trying to shift focus to the Command Window using the 'commandwindow' function, and it is not behaving as expected on your system running macOS.
This is a known issue with MATLAB on macOS, and unfortunately the only workaround is to click on the Command Window to bring focus to it.
I hope this helps!
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Migrate GUIDE Apps dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!