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

    function iCurve = pGetICurve(obj, identifier)
%PGETICURVE  Private method.

%  ICURVE = PGETICURVE(CAL,IDENTIFIER) returns the Vision interface ICURVE
%  to the curve with identifier IDENTIFIER.

%  Copyright 2000-2005 The MathWorks, Inc.


[match, position] = ismember(identifier, obj.getCurveIdentifiers);
if any(~match)
    error(message('mbc:calibrationdata:calibration:ObjectNotFound15'))
else
    iCurve = obj.ICurves(position);
end