How to block out code in Live Script

1 回表示 (過去 30 日間)
alpedhuez
alpedhuez 2020 年 4 月 26 日
コメント済み: alpedhuez 2020 年 4 月 26 日
Suppose I have a live script like
a=1
and
b=2
and
c=3
Now I want to comment out the first two block of the code. That is,
%a=1
and
%b=2
and
%c=3
But is there any way to block out like?
/*
a=1
and
b=2
*/
c=3

採用された回答

Les Beckham
Les Beckham 2020 年 4 月 26 日
%{
a = 1;
b = 2;
%}
c = 3;
  1 件のコメント
alpedhuez
alpedhuez 2020 年 4 月 26 日
Yes or select these parts, right click, and choose "comment."

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeModeling についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by