MATLAB: How to continue code in next line with comment between them

break lines in edditorcomment

i have a long line code, that i want to specify each part of code by comment in above it. i use (…) at end of each part to continue code in next line.like this:
% line 1
a=b+c+f...
% line 2
+t+h+k;
but when i write comments between lines, matlab just calculate first line. now what should i do to write comment between break lines.

Best Answer

All you need is an ellipsis on each line which continues on to another line:
a = b+c+f...
... line 2
+t+h+k;