xlsread needs to
- start excel
- get excel to read the file
- parse the text to convert it into numbers
- read the data from the worksheet
The first three operations in particular are going to take some time. Excel is not a lightweight program and reading data from disk always takes time.
All that just to get the number of rows in a text file?