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

1 view (last 30 days)
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.

Accepted Answer

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

More Answers (0)

Community Treasure Hunt

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

Start Hunting!