www.gusucode.com > mbctools 工具箱 matlab 源码程序 > mbctools/@mdevtestplan/getBestExportModel.m
function m=getBestExportModel(mdev) %GETBESTEXPORTMODEL get best model for export % m=getBestExportModel(mdev) % Copyright 2009-2011 The MathWorks, Inc. and Ford Global Technologies, Inc. m = children(mdev,@getBestExportModel); if ~isempty(m) m( cellfun('isempty',m) ) = []; end if ~isempty(m) c = get(m{1},'constraints'); c = boundaryModelWrapper(c); for i=1:length(m) m{i}= setconstraints(m{i},c); end end