How to block out code in Live Script

1 vue (au cours des 30 derniers jours)
alpedhuez
alpedhuez le 26 Avr 2020
Commenté : alpedhuez le 26 Avr 2020
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

Réponse acceptée

Les Beckham
Les Beckham le 26 Avr 2020
%{
a = 1;
b = 2;
%}
c = 3;
  1 commentaire
alpedhuez
alpedhuez le 26 Avr 2020
Yes or select these parts, right click, and choose "comment."

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Modeling dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by