Quantcast
Channel: MATLAB Central Newsreader Recent Posts
Viewing all articles
Browse latest Browse all 19628

Re: Opening and reading a file

$
0
0
On 8/23/2013 4:29 PM, Poulomi wrote:
> Hi,
>
> I have an array, say A = [1008 1009 10012 10015], where each number
> contains station name. In a separate folder all data pertaining to
> individual station name is stored as a text file. Say 1008.txt (which is
> stored in c./my documents) contains 3 columns/data information. For each
> individual array element i need to read the text file of same name for
> further processing of my output. Say if 1008 is selected, then it will
> search 1008.txt from the directory and read data from that file row
> wise. How I can do so, Pls. suggest. Thanks,

See the FAQ...

<http://matlab.wikia.com/wiki/FAQ#How_can_I_process_a_sequence_of_files.3F>

--

Viewing all articles
Browse latest Browse all 19628

Trending Articles