필터 지우기
필터 지우기

how to make a single command line

조회 수: 4 (최근 30일)
ajith
ajith 2013년 6월 4일
%doubt
%regards
%make
%a single
% command line
sir my double regards how to make a all in command line for example in c language
/* doubt
regards
make
a single
command line*/ how we do it in matlab programming

채택된 답변

Walter Roberson
Walter Roberson 2013년 6월 4일
If you are asking how to make a single comment from multiple lines, then use %{ to start the comment and %} to end the comment.
%{
doubt
regards
make
a single
command line
%}

추가 답변 (2개)

David Sanchez
David Sanchez 2013년 6월 4일
you can't do it. The closest you get is selecting all the lines you want to comment and then Ctrl+R. This will insert a "%" at the beginning of each line. CTRL+L to uncomment.

Matt J
Matt J 2013년 6월 4일
편집: Matt J 2013년 6월 4일
Bracket the lines you want to comment in %{ and %}
%{
doubt
regards
make
a single
command line
%}
The %{ and %} must occupy their own lines, however.

카테고리

Help CenterFile Exchange에서 Environment and Settings에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by