www.gusucode.com > mbcview 工具箱matlab源码程序 > mbcview/@cgtradeoffgui/@mmeditor/getAllModelSites.m

    function val = getAllModelSites(obj, val)
%GETALLMODELSITES Return the full list of model sites
%
%  VAL = GETALLMODELSITES(OBJ) returns the full set of model sites that
%  corresponds to the IsSiteIncluded logical vector.

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


if ~isempty(obj.FullSwitchModels)
    mdl = obj.FullSwitchModels{1};
    val = getSwitchPoints(mdl);
else
    val = [];
end