saves data in y_struct as variables in .mat file FORMAT savestruct(object, matname) $Id$
0001 function savestruct(obj, filename) 0002 % saves data in y_struct as variables in .mat file 0003 % FORMAT savestruct(object, matname) 0004 % 0005 % $Id$ 0006 0007 if nargin ~= 2 0008 error('Need matfile name'); 0009 end 0010 savestruct(y_struct(obj), filename) 0011 return