How to transfer 'text' from edit text box of GUI1 to uitable (specific cell on A1) of GUI?
1 view (last 30 days)
Show older comments
Good day! So far, what I have already done is to save the 'text' from the edit box to an excel file however the 'text' is save one character per cell on the spreadsheet (meaning that when the user typed 'Name', it then saves it on excel with this format: A1: 'N', B1: 'a', C1: 'm', D1: 'e')
I have used the following codes:
txt = get(handles.edit1, 'string');
xlswrite('Database.xls',txt,1,'A1');
Three of my concerns are the following:
How can I save the 'text' in a single cell on excel so I can just retrieve the 'text' from excel and transfer it to the uitable of GUI2?
How can I retrieve 'text' from excel to display it on the uitable since changing the data properties of the specific column of the uitable to 'Text' doesn't work? and
How can I simply display the 'text' entered by the user on the edit text box (GUI1) to specific uitable (GUI2) with/without passing through excel?
2 Comments
adel amim
on 28 Nov 2016
hi,i have the same problem(the name writing in many cells), did you get the solution ??
Answers (0)
See Also
Categories
Find more on Migrate GUIDE Apps 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!