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 个)

类别

帮助中心File Exchange 中查找有关 Graphics Performance 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by