how to make a single command line
1 次查看(过去 30 天)
显示 更早的评论
%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
0 个评论
采纳的回答
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
%}
0 个评论
更多回答(2 个)
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.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Environment and Settings 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!