How can I wrap long lines of scripts and functions in MATLAB R2011b?
I do not mean using Ctrl + J to wrap comments, but show a long line in several lines, each (except the last) frame width of the editor, as in most text editors, so I do not need to scroll horizontally; the effect is purely visual, and it remains as one line in the file.
I could not find the settings in any menu, toolbar or settings dialog.
Although I could split the line into several lines using "...", I do not want to do this. I want to save it as a single line in a file, just show it wrapped, as in the format> Word Wrap in Windows Notepad.
source
share