from readtext by Peder Axensten
Any text (file) you give it, readtext returns an array of the contents. You can chose delimiter etc.

All files for readtext
/license.txt
/readtext.m

Contact us at files@mathworks.com