reading the file using input function
Show older comments
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
Accepted Answer
More Answers (1)
Friedrich
on 3 Jan 2012
Hi,
you can do something like:
strrep(fileread('new.txt'),',',' ')
1 Comment
Walter Roberson
on 4 Jan 2012
"fileread: it's obscure but it works!" :-)
Categories
Find more on Large Files and Big Data 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!