mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-07-31 20:10:49 +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:
@@ -15,10 +15,12 @@ If you have any feedback please feel free to reach me at
|
|||||||
```matlab
|
```matlab
|
||||||
% Comments start with a percent sign.
|
% Comments start with a percent sign.
|
||||||
|
|
||||||
%{ Multi line comments look
|
%{
|
||||||
|
Multi line comments look
|
||||||
something
|
something
|
||||||
like
|
like
|
||||||
this %}
|
this
|
||||||
|
%}
|
||||||
|
|
||||||
% commands can span multiple lines, using '...':
|
% commands can span multiple lines, using '...':
|
||||||
a = 1 + 2 + ...
|
a = 1 + 2 + ...
|
||||||
|
Reference in New Issue
Block a user