MATLAB: Importing text files below

text file

Hi, I have trying to read the text file below where the first col is a string of different length, and it seem to be separated by a tab or something. Can anyone give some advice?
Thx
Symbol Description
1PG.AX 1-page Limited
AADKOA.AX Ardent Leisure Group
AAI.AX Alcoa Inc (USA CUFS)

Best Answer

textscan is going to be a robust and fast method to read this file:
fid = fopen('temp.txt','rt');
C = textscan(fid,'%s%[^\n]');
fclose(fid);
C{1} contains a cell array of the first column in the text file, C{2} contains all words after that. You could also use this to solve your earlier question in a much neater way:
The test text file is attached: