append non-compression data to matfile problem
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Yu Li
am 26 Sep. 2018
Beantwortet: Bish Erbas
am 26 Sep. 2018
I want to append a variable to a existed .mat file, but Matlab occurs error:
Nocompression not supported for this MAT-file version. Use MAT-file v7.3 instead.
below is the test code:
test=1;
save test test
T=rand(1e6,1);
save('test.mat','T','-append','-nocompression')
is there any mistake with my operation?
Thanks!
Yu
0 Kommentare
Akzeptierte Antwort
Bish Erbas
am 26 Sep. 2018
Try this:
test=1;
save('test','test','-v7.3');
T=rand(1e6,1);
save('test.mat','T','-append','-nocompression')
-nocompression is only supported for MAT-files created in v7.3
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Outputs 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!