www.gusucode.com > mbcguitools 工具箱 matlab 源码程序 > mbcguitools/@mbcwidgets/@itemList/setChecks.m

    function setChecks(obj, checks)
%SETCHECKS Set the checked status for each item
%
%  SETCHECKS(OBJ, CHECKS) where CHECKS is a logical vector the same length
%  as the number of items in the list will set the checked status of each
%  item to that specified.

%  Copyright 2000-2006 The MathWorks, Inc. and Ford Global Technologies, Inc.

% This just wraps a call to the property.
obj.Checks = checks;