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일

0 개 추천

Put a semi-colon behind menu line
a = menu ('Wanna plot....?','Yes','No');

추가 답변 (1개)

lucas
lucas 2013년 11월 1일

0 개 추천

awww. of course... ty

카테고리

도움말 센터File Exchange에서 Graphics Performance에 대해 자세히 알아보기

태그

질문:

2013년 11월 1일

답변:

2013년 11월 1일

Community Treasure Hunt

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

Start Hunting!

Translated by