> OK let us suppose I have a text file (*.txt or *.dat) in which the
> is as follows:
> 1 100 1 1 2 1. 28.342
> 2 100 1 1 0.944 20.123
> 3 100 1 1 3 0.9 0.
> Now I want to read from this text file and store the data in each
> column in a separate matrix. For example, If I am able to store the
> first column into a matrix "item_no", the matrix shall be like [1 2
> and the second column can be stored into a matrix "Quantity" and
> look like [100 100 100].
> Can someone please help me out on this? I have a project and I
> proceed further without solving this problem.
> P.S.: Note that there are 2 or more spaces between each
> will I read the second column and the next ones taking the spaces
Take a look at textread.