reading the file using input function
显示 更早的评论
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
采纳的回答
更多回答(1 个)
Friedrich
2012-1-3
Hi,
you can do something like:
strrep(fileread('new.txt'),',',' ')
1 个评论
Walter Roberson
2012-1-4
"fileread: it's obscure but it works!" :-)
类别
在 帮助中心 和 File Exchange 中查找有关 Large Files and Big Data 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!