How to print variable and its value in the same line on Command Window
Afficher commentaires plus anciens
Hi, I have this attribution in Command Window

I would like it to be shown as "a = 1", in the same line, without this line break after the equals. Do you know any setting that can change it? My version is R2022b.
Thanks
1 commentaire
Dyuman Joshi
le 6 Avr 2023
Modifié(e) : Dyuman Joshi
le 6 Avr 2023
I don't think there is an option to change this particular display style/format.
Is there any particular reason you want to do this?
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Environment and Settings dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!