how to comment code in matlab code example Example 1: block of comments in matlab %{ Commented code here. %} Example 2: matlab comments % single line comment %