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

 Respuesta aceptada

Honglei Chen
Honglei Chen el 1 de Nov. de 2013
Editada: Honglei Chen el 1 de Nov. de 2013

0 votos

Put a semi-colon behind menu line
a = menu ('Wanna plot....?','Yes','No');

Más respuestas (1)

lucas
lucas el 1 de Nov. de 2013

0 votos

awww. of course... ty

Categorías

Más información sobre Graphics Performance en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 1 de Nov. de 2013

Respondida:

el 1 de Nov. de 2013

Community Treasure Hunt

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

Start Hunting!

Translated by