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!