Import txt file into matlab by coding..............

2 Ansichten (letzte 30 Tage)
Tinkul
Tinkul am 12 Sep. 2012
I have data in txt file as shown below:
ffffffffffffffffffffffffffff
ffffffffffffffffffffffffffff
01234efefabcdeffffffffffffff
ffffffffffffabcdeabcdeffffff
abcdefabcdefabcdefabcdefabcd
abcdffffffefefefefbabadededf
1234dace56778445dcfacedbebbf
abcdfedfedabce34127432ffedab
now these data i have to take in m file by importing txt file into matlab.For that what matlab code should be written.....
Thanks

Akzeptierte Antwort

Image Analyst
Image Analyst am 12 Sep. 2012
I'd use fopen(), fread(), and fclose(). See examples in the help.

Weitere Antworten (0)

Kategorien

Mehr zu Data Acquisition Toolbox Supported Hardware finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by