hidding ans in menu
조회 수: 1 (최근 30일)
이전 댓글 표시
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 :)
댓글 수: 0
채택된 답변
Honglei Chen
2013년 11월 1일
편집: Honglei Chen
2013년 11월 1일
Put a semi-colon behind menu line
a = menu ('Wanna plot....?','Yes','No');
댓글 수: 0
추가 답변 (1개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Specifying Target for Graphics Output에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!