www.gusucode.com > mbc 工具箱 matlab 源码程序 > mbc/@mbcmodel/@model/StatisticsDialog.m
function [mdl,OK]= StatisticsDialog(mdl) %STATISTICSDIALOG Select summary statistics in dialog % % [MODEL, OK] = STATISTICSDIALOG(MODEL) % % See also mbcmodel.model.SummaryStatistics % Copyright 2006 The MathWorks, Inc. m = mdl.getObject; [m,OK]= gui_SummaryStats(m); % Convert OK to boolean OK = logical(OK); if OK [X, Y] = pGetData(mdl); mdl = mbcmodel.CreateModel( m,... 'Response', mdl.Response,... 'ModelStatus', mdl.ModelStatus); mdl.pSetData(X, Y); end