how to make a single command line
Show older comments
%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
Accepted Answer
More Answers (2)
David Sanchez
on 4 Jun 2013
0 votes
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.
Bracket the lines you want to comment in %{ and %}
%{
doubt
regards
make
a single
command line
%}
The %{ and %} must occupy their own lines, however.
Categories
Find more on Entering Commands in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!