1/25/2013

To save Txt file in the Matlab (dlmwrite function)

When you want to save vector values to Txt file, use dlmwrite function.
more detail information find in the matlab help file. (help dlmwrite)

-------------------------------------------------------
 simple example.
>>
>>dlmwrite('./saveV.txt', [1 2 3 4 5], 'delimiter', ' ');


 ->saveV.txt
1 2 3 4 5

--------------------------------------------------------

Thank you. ^^

No comments:

Post a Comment