How do I use the help command to display multi-line comments?
이전 댓글 표시
Multi-line comments can be achieved using:
%{
random foobars
%}
However, whenever I place this at the top of a new script and try to call the help command, the output keeps on resulting in just:
{
Does this mean that the help command is limited to only single-line comments? I would assume that this was the case and call it a day but a textbook on MATLAB shows an example that prints out a multi-line comment using 'help'.
댓글 수: 3
Walter Roberson
2016년 11월 2일
It is interpreting "random foobars" as a command, and so proceeding to foobar??
Benjamin Wong
2016년 11월 3일
Walter Roberson
2016년 11월 3일
Sigh. I feel so old some days, my culture lost in time, like tears in the rain.
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Entering Commands에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!