loadobj function - undoes run length encoding if appropriate $Id$
0001 function o = loadobj(o) 0002 % loadobj function - undoes run length encoding if appropriate 0003 % 0004 % $Id$ 0005 0006 m = o.dat; 0007 if isfield(m, 'rlem') 0008 dat = my_rld(m.rlem); 0009 o.dat = reshape(dat, m.dim); 0010 end