ADD data to a GUI table from text file

sir
i need to add data from text file to GUI table.how can i do this...Please help me out

Answers (1)

h = uitable('Position', ....);
TheData = importdata('TheFileName.txt');
set(h, 'Data', num2cell(TheData) );

Tags

Asked:

on 6 Jun 2012

Community Treasure Hunt

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

Start Hunting!