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

 Akzeptierte Antwort

Honglei Chen
Honglei Chen am 1 Nov. 2013
Bearbeitet: Honglei Chen am 1 Nov. 2013

0 Stimmen

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

Weitere Antworten (1)

lucas
lucas am 1 Nov. 2013

0 Stimmen

awww. of course... ty

Kategorien

Mehr zu Graphics Performance finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 1 Nov. 2013

Beantwortet:

am 1 Nov. 2013

Community Treasure Hunt

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

Start Hunting!

Translated by