How to clear the whole field in edit text?

1 view (last 30 days)
I have a GUI and one of it's function is to show some strings in edit text. It's working well, but only before the field ends. How can I clear the whole field, not only one string? I want to make a loop or something that prints the strings one by one, then, when the end of the field comes, clears it and continues to print from the same moment.

Accepted Answer

Walter Roberson
Walter Roberson on 7 Mar 2018
Set the edit control String property to {} if Max is set to 2 or more, or to '' if Max is set to 1

More Answers (0)

Categories

Find more on Loops and Conditional Statements in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!