import data into matlab

1 Ansicht (letzte 30 Tage)
Radoslav Vandzura
Radoslav Vandzura am 7 Okt. 2015
I have imported data into uitable in gui, but data are large and appear statement: Matlab is not responding.
Is uitable appropriate for importing large files?

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 7 Okt. 2015
Bearbeitet: Walter Roberson am 7 Okt. 2015
uitable() does not import data. uitable is for creating table structures in graphics.
There is a table() data type which has various import routines including readtable: is that the routine you are using? What kind of file are you importing the data from?
  18 Kommentare
Walter Roberson
Walter Roberson am 8 Nov. 2015
You can get() the Data property from the uitable handle.
Radoslav Vandzura
Radoslav Vandzura am 8 Nov. 2015
And what is code of this?
I wrote this:
function pushbutton4_Callback(hObject, eventdata, handles)
waitfor(gcf)
x=0.5;
waitbar(x+0.3,h,'Data are saving')
pause(3)
get(handles.edit3,'data')%edit3 is tag for uitable object in guide
x=0.8;
waitbar(x+0.2,h,'Data are succesfully saved')
pause(2)
close(h)
But it doesnt work.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Workspace Variables and MAT-Files finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by