www.gusucode.com > mbc 工具箱 matlab 源码程序 > mbc/@guidarray/fastindex.m
function B = fastindex(A, index) %FASTINDEX Fast subsref function % % FASTINDEX(G, IDX) returns a new guidarray containing the guids at IDX in % the guidarray G. % Copyright 2000-2006 The MathWorks, Inc. and Ford Global Technologies, Inc. B = A; % Index into array B.values = A.values(index); % Update the hash B = updateHash(B);