www.gusucode.com > mbcmodels 工具箱 matlab 源码程序 > mbcmodels/@xregtwostage/canGTS.m

    function OK= canGTS(TS)
%CANGTS GTS methods can be run on this model
%
% OK= canGTS(m)

%  Copyright 2006 The MathWorks, Inc. and Ford Global Technologies, Inc.

OK= canGTS(TS.Local);
for i=1:length(TS.Global)
    OK= OK && canGTS(TS.Global{i});
end