I am running a loop and inside that I am creating edit boxes using uicontrol. I am the loop to refresh the data in the edit boxes every cycle. But at present i end up writing one set of data over another. how can i ensure that before the second set of data is written onto the edit boxes, the first set of data is erased.
Thank You

 采纳的回答

Walter Roberson
Walter Roberson 2012-6-2

0 个投票

Create the uicontrol before the loop. Set their String property to {''} to clear the content.

更多回答(0 个)

类别

在 帮助中心 和 File Exchange 中查找有关 Interactive Control and Callbacks 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by