How to block out code in Live Script

1 visualización (últimos 30 días)
alpedhuez
alpedhuez el 26 de Abr. de 2020
Comentada: alpedhuez el 26 de Abr. de 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

Respuesta aceptada

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

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Modeling en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by