I have some data (.mat) which was set to global as it was saved and which is now saved as a global cell. When I load it into the workspace it automatically is set to global.
Is there a way to remove the global flag from this variable, without removing the variable itself from the workspace, only the global attribute?
When I copy this array it automatically copies its global attribute as well and in the documentation it only says how to set to global and not how to remove it. I am using MATLAB R2015a.
exportmat = cell(889,12);
filename = 'test.mat';
clear -globals exportmat
Name Size Bytes Class Attributes
exportmat 889x12 85344 cell global