How to hide displaying the value from command window

Hi,
i am using slider callback function using uicontrol command. when i move slider, it displays ans 1 in command window. i dont want the display of ans 1 in command window. please help me in this regard.
Thank you in advance.

 Accepted Answer

One of the statement will be missing a semicolon (;) at the end. Make sure that you have a semicolon at the end of each line. In addition to that, make sure there is no disp() of fprintf() statements.

More Answers (0)

Categories

Find more on Environment and Settings in Help Center and File Exchange

Asked:

$
$
on 16 Nov 2020

Commented:

$
$
on 9 Jun 2021

Community Treasure Hunt

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

Start Hunting!