Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: Opening and reading a file
Replies: 1   Last Post: Aug 23, 2013 7:39 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Pg

Posts: 128
Registered: 1/24/09
Opening and reading a file
Posted: Aug 23, 2013 5:29 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

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,


Date Subject Author
8/23/13
Read Opening and reading a file
Pg
8/23/13
Read Re: Opening and reading a file
dpb

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.