


Number of simple file arrays involved. _______________________________________________________________________ Copyright (C) 2005 Wellcome Department of Imaging Neuroscience



0001 function t = numel(obj) 0002 % Number of simple file arrays involved. 0003 % _______________________________________________________________________ 0004 % Copyright (C) 2005 Wellcome Department of Imaging Neuroscience 0005 0006 % 0007 % $Id: numel.m 253 2005-10-13 15:31:34Z guillaume $ 0008 0009 0010 % Should be this, but it causes problems when accessing 0011 % obj as a structure. 0012 %t = prod(size(obj)); 0013 0014 t = numel(struct(obj));