[422372]: / functions / @mmo / changefile.m

Download this file

8 lines (5 with data), 188 Bytes

1
2
3
4
5
6
7
% this function is called when the file is being saved
function obj = changefile(obj, newfile)
movefile(obj.dataFile, newfile);
obj.dataFile = newfile;
obj.writable = false;