MATLAB: UICONTROL

uicontrol

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

Best Answer

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