www.gusucode.com > mbcdesign 工具箱 matlab 源码程序 > mbcdesign/@coninputfactor/guiMatch.m

    function [index, ok] = guiMatch(varargin)
%GUIMATCH Gui to allow the user to match one set of input factors to another
%
%  [I, OK] = GUIMATCH(A, B)
%  [I, OK] = GUIMATCH(A, B, A_TITLE, B_TITLE)
%
%  The output I is the indices into B that A matches to, i.e., A is matched to
%  B(I). The size of I is the same as the size of A.  The output OK is required
%  because we are dealing with a GUI and this output records whether the user
%  clicked ''OK'' or ''Cancel''.  The optional title arguments, A_TITLE and
%  B_TITLE allow for titles or labels to placed at the top of each of the lists
%  of input factors.
%  
%  See also CONBASE, CONINPUTFACTOR, XREGMODEL/GUI_SIGNALCHOOSER.

%  Copyright 2004-2015 The MathWorks, Inc. 

[index, ok] = mbcMatchDialog('figure', varargin{:});