saving data with different format

7 次查看(过去 30 天)
Niveen Morsi
Niveen Morsi 2013-3-14
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
save() with the -ascii flag, OR, fopen(), fprintf(), fclose.
imwrite()
  2 个评论
Niveen Morsi
Niveen Morsi 2013-3-14
编辑:Niveen Morsi 2013-3-14
save() is fine only when saving .mat file
i want to save video frames as image (.bmp) and as text (.txt)
any idea plz...
Cedric
Cedric 2013-3-15
编辑:Cedric 2013-3-15
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

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Convert Image Type 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by