MATLAB: How to change the units of the ‘Bytes’ column in the Workspace Browser in MATLAB 7.9 (R2009b)

browserbytesMATLABsize;unitvariableworkspace

I would like to be able to see the memory size of my variables in the Workspace Browser in KB, MB and GB rather than in bytes.

Best Answer

The ability to change the displayed units of the 'Bytes' column in the Workspace Browser is not available in MATLAB 7.9 (R2009b).
In order to work around this issue you can use the attached code, 'wssize.m', to display a list of variables in your base workspace in other units.