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

    function [pNode,pData,pDep]= getConnections(N);
%GETCONNECTIONS get connections for node
%
% [pNode,pData,pDep]= getConnections(N)

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

pNode= address(N);
pData= getdata(N);
if ~isempty(pData)
    pDep= {getDependentPtrs(pData.info)};
else
    pData= xregpointer;
    pDep= {mbcpointer(1,0)};
end