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

    function refresh(obj)
%REFRESH  Refresh map.
%
%  REFRESH(OBJ) refreshes the map OBJ.

%  Copyright 2004-2005 The MathWorks, Inc.


calibrationInterface = obj.CalibrationInterface;
if isempty(calibrationInterface)
    % No interface, ignore
elseif ishandle(calibrationInterface)
    obj = getMap(obj.CalibrationInterface, obj.Identifier);
else
    error(message('mbc:calibrationdata:map:StaleInterface'))
end