how to output in a text box the data in an excel file using MATLAB GUIDE

Status
Not open for further replies.

bug1not

Banned
Joined
Dec 5, 2010
Messages
21
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
0
Guyz,just want to ask how can i insert the data in an excel file and output those data in a text box in MATLAB GUI?

Coz when i use xlsread command,it only outputs those cells that has numbers..

i.e.
i have example.xls and its data are as follows..

Name Adress Tel.No.
person1 place1 432324
person2 place2 2342
person3 place3 32423


and when i use these commands..

output=xlsread('example.xls');
x = findobj(gcf,'Tag','output');
set(x,'String',output);

it will only show:

432324
2342
32423

Thank you..

bug1not
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…