How to disable Matlab 2022a breaking rows in command window?

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

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.
No, if I enlarge the window it breaks at the same position.
I checked the preferences already a couple of times but cannot find a parameter for line length or similar.
Yes, this issue appears with version 9.12.0.1884302 (R2022a), reproducable on two machines. Maybe it will be fixed with an update.... otherwise I will have to change back to an older version.
I cannot replicate it on my machine with update 3 - hope this will resolve the issue.
Boy, that's a real kicker that such a blatant bug could evade detection and be released...

Sign in to comment.

Answers (1)

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

Thank you Steven,
yeah, Matlab is used by a larger software framework with several forks in our case... I think the better option for us would be to use an older version until the bug is fixed.
It was important to know that it is not a configuration issue. Thank you again, also for reporting the bug.

Sign in to comment.

Categories

Products

Release

R2022a

Asked:

on 23 May 2022

Commented:

on 25 May 2022

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!