필터 지우기
필터 지우기

hidding ans in menu

조회 수: 2 (최근 30일)
lucas
lucas 2013년 11월 1일
답변: lucas 2013년 11월 1일
hello guys,
i made this function
.
a = menu ('Wanna plot....?','Yes','No') if a == 1
plot................. .
elseif a == 2
disp('Not plotting...');
end
.
but when the user click on the button it return the asnwer like:
a =
2
.
or
.
a =
1
.
how do i hide this ans??
thx :)

채택된 답변

Honglei Chen
Honglei Chen 2013년 11월 1일
편집: Honglei Chen 2013년 11월 1일
Put a semi-colon behind menu line
a = menu ('Wanna plot....?','Yes','No');

추가 답변 (1개)

lucas
lucas 2013년 11월 1일
awww. of course... ty

카테고리

Help CenterFile Exchange에서 Interactive Control and Callbacks에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by