www.gusucode.com > mbcview 工具箱matlab源码程序 > mbcview/@cgmodelnode/editinputs.m

    function OK = editinputs(node, hParent, pModel )
%EDITINPUTS Show input connections GUI.
%
% OK = EDITINPUTS(ND, HPARENT, [MDLPTR]) 

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

if nargin<2
    pModel = getdata(node);
end

localdata.modptr = pModel;
localdata.models = {pModel.get('model')};
title = sprintf('Edit Inputs: %s', pModel.getname);
OK = xregwizard(hParent, title, {@cg_model_wizard 'cardthree'}, localdata);