reading the file using input function
Afficher commentaires plus anciens
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
Réponse acceptée
Plus de réponses (1)
Friedrich
le 3 Jan 2012
Hi,
you can do something like:
strrep(fileread('new.txt'),',',' ')
1 commentaire
Walter Roberson
le 4 Jan 2012
"fileread: it's obscure but it works!" :-)
Catégories
En savoir plus sur Large Files and Big Data dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!