saving data with different format

how can i save data in .txt format instead of .mat, beside how can i save video frames as image.bmp
thanks..

回答(1 个)

Walter Roberson
Walter Roberson 2013-3-14

0 个投票

save() with the -ascii flag, OR, fopen(), fprintf(), fclose.
imwrite()

2 个评论

save() is fine only when saving .mat file
i want to save video frames as image (.bmp) and as text (.txt)
any idea plz...
Well, the solution is to type "doc " before all the functions mentioned by Walter, in the command window, e.g.
>> doc save % then I must look for -ascii
>> doc imwrite % then I must look for bmp

请先登录,再进行评论。

类别

在 帮助中心 和 File Exchange 中查找有关 Low-Level File I/O 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by