MATLAB: Why the empty cell array taking 104 bytes instead of 112 bytes..

cell arraycell array memorycell array memory allocationempty cell arrayempty cell array memoryempty cell array memory allocationMATLAB

Hello,
it is mentioned in the document that,
an empty cell array will take
30 bytes for 32 bit systems
& 112 bytes for 64 bit systems.
i got confused why my 64 bit system is taking 104 bytes of memory for an empty cell array..
can someone please explain me..?
Thanks in advance ..!

Best Answer

A = {[]}
is NOT an empty cell, it's 1 x 1 cell contains an empty array.
An empty cell is
A = {}
Related Question