Is it possible to make inactive some of lines?
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Assume that
A = [a*b;... %line 1
a*b^2;... %line 2
a*b^3;... %line 3
]
Is it possible to generate a command to make inactive any line, for ex. line 2 like:
A = [a*b;... %line 1
%a*b^2;... %line 2
a*b^3;... %line 3
]
Thanks,
2 Kommentare
Antworten (1)
Bruno Luong
am 8 Jul. 2021
Put "..." (without the quotes) in front of the lines you want to hide
3 Kommentare
Bruno Luong
am 8 Jul. 2021
Please explain of adding/removing "..." to hide/disable the lines is not suitaable for your need.
Bruno Luong
am 8 Jul. 2021
Just to be sure you understand what I wrote
A = [a*b;... %line 1
... a*b^2; ... %line 2
a*b^3;... %line 3
]
Siehe auch
Kategorien
Mehr zu Startup and Shutdown finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!