7 matfile = fullfile(rbmatlabtemp,
'cacheable_object_test');
8 comatfile = fullfile(rbmatlabtemp,
'cacheable_object_test_co');
10 tobj.large_data = rand(100, 100);
11 tobj.string =
'string';
14 save(matfile,
'tobj');
20 save(comatfile,
'co1');
24 OK = OK & structcmp(co1.obj, oldobj);
27 save(matfile,
'tobj');
31 OK = OK & isempty(co1.obj);
35 delete([matfile,'.mat']);
36 delete([comatfile,'.mat']);