Clear Filters
Clear Filters

extracting into a text file

2 views (last 30 days)
hey folks I have a variable with size 512*512 in my workspace window..can it be possible to extract that into a text file???

Accepted Answer

Fangjun Jiang
Fangjun Jiang on 17 May 2011
a=rand(512);
dlmwrite('mytext.txt',a);

More Answers (0)

Categories

Find more on Data Import and Export 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!