I want to import kddcup dataset in matlab. When I import this dataset:
fid = fopen('kddcup.testdata','rt');
data = textscan(fid,['%d %s %s %s ', repmat('%f ',1,37), '%s'], 'delimiter',',');
fclose(fid);
And I get this error:
Error using textscan
Invalid file identifier. Use fopen to generate a valid file identifier.
What is wrong in this code?
.testdata? Is this the extension of the file? - EBH