Make a comment in matlab

broken image
broken image
broken image

Each separate comment idea counts as 1, even if it's longer than X characters. This means my SLOC count isn't as inflated by verbose comments. I like to use newlines in comments to indicate a new paragraph or thought, not just because I've run out of space.A fixed wrap width for one situation means it will be too wide or narrow for another. Wrap comments fixes the wrap at a given column width, but I work on various screens and change my text editor window sized based on context, so the width of my window isn't constant.There are two reasons I don't want the editor automatically inserting newlines whenever I type too long of a comment: Is there a way to configure the Matlab Editor to wrap this text when it extends beyond the current window size other than the automatic wrap comments feature?

broken image

I have a text file with a long comment that would normally extend off-screen to the right.

broken image