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 Center および File ExchangeGraphics Performance についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by