matlab comment code example
Example 1: block of comments in matlab
%{
Commented code here.
%}
Example 2: matlab comments
% single line comment %
Example 3: matlab comment
% This is a one-line comment
%{
This is a
multi-line
comment
%}
Example 4: comment shortcut matlab
1) first select the codes
2) comment with: Ctrl + R
delete comment with: Ctrl + T