Display output in the center of the screen
6 views (last 30 days)
Show older comments
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 Comments
Answers (1)
Image Analyst
on 3 Jul 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 Comments
See Also
Categories
Find more on Migrate GUIDE Apps in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!