hidding ans in menu
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
lucas
el 1 de Nov. de 2013
Respondida: lucas
el 1 de Nov. de 2013
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 comentarios
Respuesta aceptada
Honglei Chen
el 1 de Nov. de 2013
Editada: Honglei Chen
el 1 de Nov. de 2013
Put a semi-colon behind menu line
a = menu ('Wanna plot....?','Yes','No');
0 comentarios
Más respuestas (1)
Ver también
Categorías
Más información sobre Interactive Control and Callbacks en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!