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..

Réponses (1)

Walter Roberson
Walter Roberson le 14 Mar 2013

0 votes

save() with the -ascii flag, OR, fopen(), fprintf(), fclose.
imwrite()

2 commentaires

Niveen Morsi
Niveen Morsi le 14 Mar 2013
Modifié(e) : Niveen Morsi le 14 Mar 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 le 15 Mar 2013
Modifié(e) : Cedric le 15 Mar 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

Connectez-vous pour commenter.

Catégories

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by