Textread and textscan functions in Matlab