How to lock an area

2 views (last 30 days)
Lev Mihailov
Lev Mihailov on 20 Aug 2019
Commented: Adam Danz on 20 Aug 2019
Здравствуйте! Мне нужно, чтобы удалить области я могу использовать%, чтобы сделать его зеленым и удалить, но можно сделать это на большой площади, а не с помощью% для каждого элемента?

Answers (1)

Cam Salzberger
Cam Salzberger on 20 Aug 2019
Edited: Cam Salzberger on 20 Aug 2019
If I'm translating this correctly, you want to bulk-comment something. You can highlight it all and comment each line at once with the shortcut (CTRL+R) or "%" button in the editor toolstrip. Or you can use a comment block:
%{
Comments
More comments
%}
Code
-Cam
  1 Comment
Adam Danz
Adam Danz on 20 Aug 2019
...and CTRL + T de-comment.

Sign in to comment.

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!