How do I download several .txt files to the same directory?
3 views (last 30 days)
Show older comments
I am trying to make a program my professor wrote about stellar spectra work. To do so she says I need to download several text files to the same directory. I am very confused about how to do so. This is the beginning of the program:
clear
load(O5V.txt)
load(B3V.txt)
load(A0.txt)
load(F0.txt)
load(G0.txt)
load(K0.txt)
load(M0.txt)
0 Comments
Answers (2)
Image Analyst
on 23 Feb 2014
What does "download several text files to the same directory" mean? Do you mean that they exist on the server or a web site and you need to download them to a folder on your local computer's hard drive? Your code does not do that. Your code takes files on the search path and loads them into the workspace memory of your m-file, that is if you fixed it by enclosing your filenames in single quotes. This is totally different. I don't know what you intend to do since your code and question are two different things.
0 Comments
See Also
Categories
Find more on Downloads in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!