www.gusucode.com > mbctools 工具箱 matlab 源码程序 > mbctools/@xregtools/@MBrowser/getSelectedListItem.m

    function val = getSelectedListItem(mbh,val)
%getSelectedListItem index of currently selected list view item

%  Copyright 2014-2015 The MathWorks, Inc. and Ford Global Technologies, Inc.

if ~isempty(mbh.Hand) && isfield(mbh.Hand,'Figure')
    val = getSelectedRows(mbh.Hand.Figure.ListView);
end