www.gusucode.com > rctobsolete 工具箱 matlab源码程序 > rctobsolete/lmi/islsys.m

    %  bool = islsys(sys)
%
%  Returns 1 if SYS is a SYSTEM matrix

%  Author: P. Gahinet  6/94
%  Copyright 1995-2004 The MathWorks, Inc.

function bool = islsys(sys)

sys=sys(:);
bool=(length(find(sys(2:length(sys))==-Inf))==1);