The Math Forum

Search All of the Math Forum:

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

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

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

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 ]

Posts: 139
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


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
Read Opening and reading a file
Read Re: Opening and reading a file

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

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.