Read case names from file
names = caseread('filename')
names = caseread
names = caseread('filename') reads the contents of filename and returns a string matrix of names. filename is the name of a file in the current folder, or the complete path name of any file elsewhere. caseread treats each line as a separate case.
Read the file months.dat created using the casewrite function.
type months.dat January February March April May names = caseread('months.dat') names = January February March April May