I need to read a file and store the values, so I can call these values in a for loop.
Mostra commenti meno recenti
I have a file (names.txt) that is a list of file names. There is one file name per line. I need to read that file, so that each file name can be used in a for loop. I've tried to read the file as multiple strings with fscanf, but I get all the file names concatenated into one single string. How can I read the file into a single column array?
Risposta accettata
Più risposte (1)
Allen Hammack
il 28 Feb 2017
0 voti
Categorie
Scopri di più su Characters and Strings in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!