www.gusucode.com > mbcguitools 工具箱 matlab 源码程序 > mbcguitools/@xregGui/@uitoggletool/pSetState.m
function pSetState(obj) %PSETSTATE Set internal state flag % % PSETSTATE(OBJ) updates the internal boolean state flag. % Copyright 2000-2004 The MathWorks, Inc. and Ford Global Technologies, Inc. obj.BooleanState = strcmp(obj.State, 'on');