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

    function ret = isSwitchPoint(m, X)
%ISSWITCHPOINT Check whether a point is a valid evaluation site
%
%  RET = ISSWITCHPOINT(M, X) where X is a (nPoints-by-nFactors) matrix of
%  evaluation points returns a logical vector of length nPoints containing
%  true where the corresponding evaluation point is a valid evaluation site
%  for the switched model.

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


ret = true(size(X, 1), 1);