MATLAB: How to disable the automatic line wrapping in the editor

editorMATLAB

In the prefs, I set the "right-hand text limit" to 150, but the editor still auto wraps at about half that.

Best Answer

Do you mean comments? Code doesn't auto-wrap at all as far as I am aware
There is another under Editor/Debugger -> Language -> Comment formatting
that controls the wrapping of comments in code.
Related Question