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

    function inputs=getinputs(node)
%GETINPUTS Return list of inputs
%
%  P = GETINPUTS(ND)  Returns an array of pointers to inports.

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


d = getdata(node);
inputs = getinports(d.info);