Filter löschen
Filter löschen

saving data with different format

2 Ansichten (letzte 30 Tage)
Niveen Morsi
Niveen Morsi am 14 Mär. 2013
how can i save data in .txt format instead of .mat, beside how can i save video frames as image.bmp
thanks..

Antworten (1)

Walter Roberson
Walter Roberson am 14 Mär. 2013
save() with the -ascii flag, OR, fopen(), fprintf(), fclose.
imwrite()
  2 Kommentare
Niveen Morsi
Niveen Morsi am 14 Mär. 2013
Bearbeitet: Niveen Morsi am 14 Mär. 2013
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 am 15 Mär. 2013
Bearbeitet: Cedric am 15 Mär. 2013
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

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Convert Image Type finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by