why the save instruction not execute correctly in matlab 2013 , code is below

1 Ansicht (letzte 30 Tage)
x=100;
>> save('test.mat','x');
Error using save
Unable to write file test.mat: permission denied.
>> x=100;
>> save('test.mat','x','append');
Error using save
Variable 'append' not found.

Akzeptierte Antwort

Image Analyst
Image Analyst am 26 Jan. 2015
Try '-append' instead of 'append'.

Weitere Antworten (0)

Kategorien

Mehr zu Workspace Variables and MAT-Files 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!

Translated by