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 Exchange에서 Images에 대해 자세히 알아보기

태그

질문:

2013년 3월 14일

Community Treasure Hunt

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

Start Hunting!

Translated by