function [testdata, traindata] = test(times)


testdata = [];
traindata = [];

for i = 1 : times
[testdata(i), traindata(i)] = mystuff();
end

testdata
traindata
fflush(stdout);