How to print variable and its value in the same line on Command Window
古いコメントを表示
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 件のコメント
Dyuman Joshi
2023 年 4 月 6 日
編集済み: Dyuman Joshi
2023 年 4 月 6 日
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?
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Desktop についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!