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일

0 개 추천

%{
a = 1;
b = 2;
%}
c = 3;

댓글 수: 1

alpedhuez
alpedhuez 2020년 4월 26일
Yes or select these parts, right click, and choose "comment."

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Vehicle Dynamics Blockset에 대해 자세히 알아보기

질문:

2020년 4월 26일

댓글:

2020년 4월 26일

Community Treasure Hunt

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

Start Hunting!

Translated by