MATLAB: Re-Initialze existing cell with zeros without specifying dimensions

re-initializing cell with zeros without respecifying the dimensions.

Is there a way to re-initialize an existing cell / array without specifying the dimensions of said cell / array?
Ie.
tempArr1(7,5) = zeros % First instance of use
tempArr1 = some function or command % Second instance of use returning the tempArr1 (7,5) of zeros?

Best Answer

To set all the values of array x to 0:
x(:) = 0;