www.gusucode.com > mbcexpr 工具箱 matlab 源码程序 > mbcexpr/@cgmodexpr/getptrs.m
function ptrlist=getptrs(m) %GETPTRS cgmodexpr get xregpointers method % % PTRLIST = GETPTRS(m) is a recursive call to return xregpointers % contained in this object and all it points to. % Copyright 2000-2004 The MathWorks, Inc. and Ford Global Technologies, Inc. ptrlist = getptrs(m.cgexpr); pModel = getptrs(m.model); ptrlist = [ptrlist; pModel(:)];