Modify multiple GUIDE Tags in code

1 view (last 30 days)
Douglas Anderson
Douglas Anderson on 3 Jan 2018
I would like to modify 18 GUIDE edit text boxes. The default names are edit1, edit2, edit3... Is there a way to access each of them (modifying the Strings, getting the values, etc.) in a loop? Eventually getting the input into an array.
I partially recall something with "eval" that would then be fed to the "set(handles.editX,'String','0')" or whatever, changing the "editX" to the correct number, but not enough to make this work.

Sign in to comment.

Answers (0)


Community Treasure Hunt

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

Start Hunting!

Translated by