www.gusucode.com > mbc 工具箱 matlab 源码程序 > mbc/@mbccellstore/getvalue.m

    function data = getvalue(obj, key)
%GETVALUE Return data for a given key
%
%  DATA = GETVALUE(OBJ, KEY) returns the data that has been stored for a
%  given key.  If the key cannot be found in the object's keylist, data is
%  returned as an empty matrix, [].

%  Copyright 2000-2004 The MathWorks, Inc. and Ford Global Technologies, Inc.


data = getvalue(obj.mbcstore, key);
if ~isempty(data)
    data = data{1};
end