Saving texts read from edit box in GUI

7 visualizaciones (últimos 30 días)
Salad Box
Salad Box el 20 de Mayo de 2019
Comentada: Geoff Hayes el 21 de Mayo de 2019
Hi,
I have a edit box in GUI design. This edit box is specifically for puting texts/strings in rather than numbers.
So I used code below to extract strings from the edit box.
data_string = get(handles.edit1, 'string');
There will be a lot of people using this GUI. Each of them will leave their own texts in this edit box. How do I wrap up the texts I got from different people so that each row would represent the texts one person put in?
Untitled.png
I originally thought about using 'cell'. I'm not sure whether there is any better ideas than 'cell'.
Please advise.
Many thanks!
  1 comentario
Geoff Hayes
Geoff Hayes el 21 de Mayo de 2019
How do you know when a different person uses this GUI and that you should save the input text to a new element in a cell array? Could a user who has already updated the array be allowed to replace their previous element? Please also describe what this text represents.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Characters and Strings en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by