www.gusucode.com > mbcdata 工具箱 matlab 源码程序 > mbcdata/@calibrationdata/getVisionLongIdentifier.m

    function long = getVisionLongIdentifier(short, longs)

% Copyright 2005 The MathWorks, Inc.

% Get all short identifiers
shorts = getVisionShortIdentifier(longs);

% Match short identifier(s)
[tf, index] = ismember(shorts, longs);

if any(~tf)
    % Item(s) not found
    error(message('mbc:calibrationdata:calibration:ObjectNotFound'))
else
    % Return corresponding long identifier(s)
    long = longs(index);
end