www.gusucode.com > mbctools 工具箱 matlab 源码程序 > mbctools/@mdevmlerf/modelactions.m

    function actions = modelactions(mdev,ms) %#ok<INUSL>
%modelactions - model actions specific to model type
%   actions= modelactions(m,ms)
%
%   Add Recalculate MLE button and 

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



actions = mbcgui.actions.StatefulAction(@(h,evt) i_MLE(ms),'Recalculate &MLE','Recalculate MLE',xregrespath('mle.bmp'));


function i_MLE(ms)

p = Parent(ms.ModelDev);
p.mledialog('Recalculate MLE');

update(ms);