reading the file using input function
Mostra commenti meno recenti
i have a word saves in text file 'hello23,hi10'.name of textfile is new.txt,is there any input function to read and display
hello23 hi10
Risposta accettata
Più risposte (1)
Friedrich
il 3 Gen 2012
Hi,
you can do something like:
strrep(fileread('new.txt'),',',' ')
1 Commento
Walter Roberson
il 4 Gen 2012
"fileread: it's obscure but it works!" :-)
Categorie
Scopri di più su Large Files and Big Data 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!