read txt. file
6 次查看(过去 30 天)
显示 更早的评论
i, please, i want send txt file ,then can one read it and place it in an array (each row consist of 4 elements) the problem that file contains digits and letters.
I can not write it correctly, each time different problem is appearing.
how I can send txt file?
thanks in advance
I want to add the following if my file contains names and digits as:
1800275327 Ashes of Time (1994) 757
1804018992 Jar, The (Khomreh) (1992) 758
1800262502 Maya Lin: A Strong Clear Vision (1994) 759
1800263541 Stalingrad (1993) 760
1800261005 Phantom, The (1996) 761
1800260807 Striptease (1996) 762
I got it by getl, what I need : ex. from first row ,the first element 1800275327 and the third 757 and left the second. how get an array contains just two elements?
thanks
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Characters and Strings 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!