필터 지우기
필터 지우기

saving data with different format

조회 수: 2 (최근 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