How to open a .txt file in matlab that has many elements?

3

When the array has only a few elements, the dlmread command works but in the case of a non-high-order array. I would like to have access to the array columns.

    
asked by anonymous 10.12.2015 / 15:48

1 answer

1

Try to use tblread instead of dlmread !

You could read files with this structure:

Latitude » Longitude » City
42.3584  » -71.0598  » Boston
40.4167  » -3.7003   » Madrid
41.8955  » 12.4823   » Rome

And you can still use delimiters to find the right positions!

Source for research and understanding of the command quoted!

    
10.12.2015 / 16:25