www.gusucode.com > mbcview 工具箱matlab源码程序 > mbcview/@cgdatasetnode/show.m

    function View=show(nd,cgh,View)
%SHOW
%
%  View=show(nd,cgh,View)
%

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



d=View;
d.pD = getdata(nd);
d.CGBH = cgh;
d.nd = nd;

d.Exprs.recalc = [1 1 1 0];

pr_Message(d,'');
% Need to clear the factor list to make sure any selections do not persist
% from a previous node
clearList(d.Handles.FactorList);
clearList(d.Handles.ExprList);

% Need to do some units checking - may have converted
%  an expression to a different unit; need to convert data to match.
d.pD.info = d.pD.CheckDataset(project(nd));

View = d;