How to combine multiple inputs in one string, in GUI ?
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Mohamed Habiballa Abdelmoez
el 14 de Sept. de 2018
Comentada: Mohamed Habiballa Abdelmoez
el 15 de Sept. de 2018
I want to get different inputs and combine them together in one string to use it somewhere else.
For example:
%%getting 'A' value and 'B' value, then put them in one value 'C'
A = get(handles.text_boxA, 'value');
A = get(handles.text_boxB, 'value');
Then I want to use 'A'and'B' values as one string.
For example:
%%If A=45, and B=85
%I want
C='4585' %%as to be C='AB'
Thank you,
1 comentario
Respuesta aceptada
Más respuestas (0)
Ver también
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!