Clear Filters
Clear Filters

Way to add ' ; ' to blocks of code at once

1 view (last 30 days)
Is there a way to remove the output of blocks of code at once similar to highlighting the code and selecting the comment or uncomment in the Editor of the toolbar or does one have to manually put them end after each command?

Accepted Answer

Walter Roberson
Walter Roberson on 20 Oct 2016
(unless, that is, you switch to an external editor that has additional facilities. If you do, then be sure to put the ; before start of comments, and be sure not to put the ; on continuation lines.)

More Answers (0)


Find more on Entering Commands in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!