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

    function applyTableFill(obj)
%APPLYTABLEFILL Apply fill expression values to tables
%
%  APPLYTABLEFILL(OBJ) updates the current cell in each table with the output
%  value of the table's fill expression.

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


pTO = obj.hMessageService.CurrentTradeoff;
if ~isempty(pTO) && obj.hMessageService.hasValidTableIndex
    obj.setPointValues;
    pT = pTO.getTable('all');
    pTO.captureTableFillAt(pT, obj.hMessageService.CurrentTableIndex{:});
    obj.hMessageService.notifyTableCellChange;
end