How to receive user input as a string data type?
19 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hello,
I am creating a GUI program (with GUIDE). In it, I need to ask the user to add comments to a file before it is exported.
I would like to have a dialog box where the user can insert a text that is as long as they wish, and that text might also include carriage returns.
I think that the best way to save this text, is as the new String data type. It appears that none of the input dialog box functions can accomodate strings, but rather chars.
Any suggesstions?
Thanks in advance!
0 Kommentare
Antworten (1)
Siehe auch
Kategorien
Mehr zu Characters and Strings finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!