hidding ans in menu
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponse acceptée
Honglei Chen
le 1 Nov 2013
Modifié(e) : Honglei Chen
le 1 Nov 2013
Put a semi-colon behind menu line
a = menu ('Wanna plot....?','Yes','No');
0 commentaires
Plus de réponses (1)
Voir également
Catégories
En savoir plus sur Interactive Control and Callbacks dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!