[422372]: / functions / @eegobj / display.m

Download this file

17 lines (13 with data), 350 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
function display(this);
disp(inputname(1));
if length(this) == 1
struct(this.EEG)
else
TMP = struct(this);
TMP2 = TMP(1).EEG;
fieldorder = fieldnames(TMP2);
for index = 2:length(TMP)
TMP2(index) = orderfields(TMP(index).EEG, fieldorder);
end
TMP2
end