How to disable Matlab 2022a breaking rows in command window?
Show older comments
When entering a command to the command window, the command is being broken after hitting the Enter button.
Example: I entered a command in a single row:

after pressing Enter the command is being split to 2 rows, after 24 characters:

This behaviour is new since Matlab 2022a.
Can this be disabled somehow??
4 Comments
dpb
on 23 May 2022
That looks bizarre, indeed!
Does the position change if you enlarge the command widow?
Check under "Preferences" and see if they've introduced some line length parameter on the command window there -- never has been that I'm aware, so wouldn't think so, but who knows with all the UI changes they've been making what they may have done?
I presume this is a new install/upgrade -- TMW supports installation issues so I'd call official support if the above don't resolve the issue.
Ibrahima Ba
on 24 May 2022
Hiro Yoshino
on 24 May 2022
I cannot replicate it on my machine with update 3 - hope this will resolve the issue.
dpb
on 24 May 2022
Boy, that's a real kicker that such a blatant bug could evade detection and be released...
Answers (1)
Steven Lord
on 24 May 2022
1 vote
This is a bug in release R2022a when MATLAB is started with the -nodesktop startup option. I've alerted the appropriate development staff to this discussion and asked them to publish a Bug Report for this issue.
One workaround would be to start MATLAB without the -nodesktop startup option.
1 Comment
Ibrahima Ba
on 25 May 2022
Categories
Find more on Startup and Shutdown 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!