www.gusucode.com > mbcdata 工具箱 matlab 源码程序 > mbcdata/@calibrationdata/@calibration/removeAxis.m
function removeAxis(obj, identifier) %REMOVEAXIS Remove axis from calibration. % % REMOVEAXIS(CAL,IDENTIFIER) removes the axis with identifier IDENTIFIER % from the calibration CAL. % % See also REMOVEVALUE, REMOVECURVE, REMOVEMAP, REMOVEITEM. % Copyright 2004-2005 The MathWorks, Inc. identifierType = obj.pGetAxisIdentifierType(identifier); if any(strcmp(identifierType,'private')) error(message('mbc:calibrationdata:calibration:InvalidOperation20')) elseif any(obj.pAxisHasDependents(identifier)) error(message('mbc:calibrationdata:calibration:InvalidOperation21')) else pDoRemoveAxis(obj, identifier); end