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 件のコメント

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

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeImages についてさらに検索

タグ

質問済み:

2013 年 3 月 14 日

Community Treasure Hunt

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

Start Hunting!

Translated by