1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-07-30 19:40:36 +02:00

[matlab/en] Fix block comment syntax.

The %{ and %} operators must appear alone on the lines that immediately
precede and follow the block of help text. Do not include any other text
on these lines.

Reference:
http://www.mathworks.com/help/matlab/matlab_prog/comments.html
This commit is contained in:
xk liu
2014-10-30 11:07:40 +08:00
parent 7d0eaa8559
commit 3f69c38ba3

View File

@@ -15,10 +15,12 @@ If you have any feedback please feel free to reach me at
```matlab
% Comments start with a percent sign.
%{ Multi line comments look
%{
Multi line comments look
something
like
this %}
this
%}
% commands can span multiple lines, using '...':
a = 1 + 2 + ...