ADD data to a GUI table from text file

2 visualizaciones (últimos 30 días)
Sajanaji
Sajanaji el 6 de Jun. de 2012
sir
i need to add data from text file to GUI table.how can i do this...Please help me out

Respuestas (1)

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

Categorías

Más información sobre Workspace Variables and MAT Files en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by