www.gusucode.com > mbcview 工具箱matlab源码程序 > mbcview/@cgtradeoffgui/@tradeoffMessageService/hasValidListIndex.m

    function ret = hasValidListIndex(obj)
%HASVALIDLISTINDEX Check whether a valid list index is set
%
%  HASVALIDLISTINDEX(OBJ) returns true if a valid list index is available
%  in the object.

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


ret = obj.CurrentListIndex>0;