save workspace variables to *.dat along with int type
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
How to save workspace to *.dat along with int type?
1 Kommentar
Antworten (1)
Jan
am 11 Mai 2011
If you have a STRUCT or CELL in the workspace, what result do you expect after saving the data to a dat file with INT type? I cannot imagine, that there is a reliable solution for the general task.
Please post any details.
2 Kommentare
Jan
am 12 Mai 2011
a = int32(1:4);
save a.dat a -ascii
or:
fid = fopen('a.dat', 'w');
fprintf('%d ', a);
fclose(fid);
Siehe auch
Kategorien
Mehr zu Audio and Video Data finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!