www.gusucode.com > sigtools 工具箱matlab源码程序 > sigtools/@siggui/@export/update_checkbox.m

    function update_checkbox(hXP)
%UPDATE_CHECKBOX Update the Overwrite checkbox

%   Author(s): J. Schickler
%   Copyright 1988-2002 The MathWorks, Inc.

h = get(hXP,'Handles');

% Sync the checkbox with the overwrite flag
overWrite = get(hXP,'Overwrite');
set(h.checkbox,'Value',overWrite);

% [EOF]