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.

 采纳的回答

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.

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Environment and Settings 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by