www.gusucode.com > mbc 工具箱 matlab 源码程序 > mbc/@mbctemporarystore/mbctemporarystore.m
function obj = mbctemporarystore(store) %MBCTEMPORARYSTORE Constructor for mbctemporarystore object % % OBJ = MBCTEMPORARYSTORE constructs a new mbctemporarystore object. This % is a child class of MBCCELLSTORE that is marked as being temporary. It % is not expected that these will be saved at all: if they are, they empty % themselves of data first. % % OBJ = MBCTEMPORARYSTORE(STORE) constructs a new mbctemporarystore by % converting the data contained in the mbcstore or mbccellstore STORE into % an appropriate parent. % Copyright 2000-2004 The MathWorks, Inc. and Ford Global Technologies, Inc. if nargin if ~isa(store, 'mbccellstore') % Convert store to cell store store = mbccellstore(store); end else store = mbccellstore; end obj.version = 1; obj = class(obj, 'mbctemporarystore', store);