Display output in the center of the screen
6 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hello everyone! I am trying to program a switch case and I want to display the output in the center screen of the command window, but I don't know how. Can someone teach me?
0 commentaires
Réponses (1)
Image Analyst
le 3 Juil 2020
I don't know because the command window width changes depending on how you have it sized. This might be a question for Yair Altman at UndocumentedMatlab
But you can certainly move things over if you use fprintf() to display output rather than just leaving off the semicolon. With fprintf() you have complete control on how to display things (variables and text).
0 commentaires
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!