ADD data to a GUI table from text file

7 views (last 30 days)
Sajanaji
Sajanaji on 6 Jun 2012
sir
i need to add data from text file to GUI table.how can i do this...Please help me out

Answers (1)

Walter Roberson
Walter Roberson on 6 Jun 2012
h = uitable('Position', ....);
TheData = importdata('TheFileName.txt');
set(h, 'Data', num2cell(TheData) );

Tags

Community Treasure Hunt

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

Start Hunting!