textscan

How to read multiple files into a single cell array?

Hi, I have a large dataset split into 5 files (each has 15000 attributes, first file contains header (attribute names) and 9999 records, and the other 4 contain 10000 records). Using textscan, I have created 5 cell arrays which have to be merged and don't know whether this approach is appropriate or it would be better to directly read ...

How do I read in a series of numbers using "Textscan" in MATLAB if the file is mostly text?

I have a text file that have a string of 3 numbers that I need to read into MATLAB. For Example: ####################### # # # Text Text Text # # ####################### Blah blah blah = #### Blah blah blah = #### Blah blah blah = #### Blah blah blah = #### Blah blah blah = #### Blah blah blah = #### I_NEED_THIS_STRING = 1234.5 ...