reading the file using input function
Ältere Kommentare anzeigen
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
Akzeptierte Antwort
Weitere Antworten (1)
Friedrich
am 3 Jan. 2012
Hi,
you can do something like:
strrep(fileread('new.txt'),',',' ')
1 Kommentar
Walter Roberson
am 4 Jan. 2012
"fileread: it's obscure but it works!" :-)
Kategorien
Mehr zu Large Files and Big Data finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!