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

    function vals = getvaluecell(obj, keys)
%GETVALUECELL Return data for multiple keys
%
%  VALS = GETVALUECELL(OBJ, KEYS) returns a cell vector of data that has
%  been stored for the given keys.  If a key is not found in the store, its
%  cell contains an empty matrix.

%  Copyright 2005 The MathWorks, Inc. and Ford Global Technologies, Inc.


vals = cell(size(keys));
for n = 1:numel(keys)
    vals{n} = getvalue(obj,keys(n));
end