The biggest benefit of Cell mode is the ability to run debugging in a large. m file directly without a function.
"Percent" [program block name] "indicates the beginning of a program, Matlab called the program segment is the cell.
( note that when you fill in the program block name, the space after the two percent sign is indispensable)
When the cursor is on a cell, the cell's background turns pale yellow.
Quick Positioning : The program block name is optional, but if you fill it out, you can quickly go to a program block with a button with two hundred semicolons and a downward triangle.
Debug : There are 3 blocks of debug buttons, they are:
A.evaluate Cell runs a single block,
B.evaluate cell and advance run a single block and move the cursor to the next piece
C.evaluate entire cell runs the entire program
Transfer from http://blog.163.com/hair_communication/blog/static/201989119201221694821511/
Cell mode--debug Sharp