how read this file?
Ältere Kommentare anzeigen
hi,
I have file as follow:
"1|Toy Story (1995)|01-Jan-1995||http://us.imdb.com/M/title-exact?Toy%20Story%20(1995)|0|0|0|1|1|1|0|0|0|0|0|0|0|0|0|0|0|0|0 2|GoldenEye (1995)|01-Jan-1995||http://us.imdb.com/M/title-exact?GoldenEye%20(1995)|0|1|1|0|0|0|0|0|0|0|0|0|0|0|0|0|1|0|0 3|Four Rooms (1995)|01-Jan-1995||http://us.imdb.com/M/title-exact?Four%20Rooms%20(1995)|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|1|0|0"
this is sample of file . how I can read it. I want get vector from this file with all data except tab.
thanks in advance
Akzeptierte Antwort
Weitere Antworten (1)
Walter Roberson
am 10 Sep. 2011
0 Stimmen
fileread() and regexp() with the 'split' option.
1 Kommentar
huda nawaf
am 3 Nov. 2011
Kategorien
Mehr zu Low-Level File I/O 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!