www.gusucode.com > mbcview 工具箱matlab源码程序 > mbcview/@cgtools/@normcomp/pGetInputValues.m

    function pGetInputValues(obj)
%PGETINPUTVALUES Get inputs from table and set into input values
%
%  PGETINPUTVALUES(OBJ) reads out all of the input values from the inputs
%  table and puts them into the corresponding input pointers.

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



non_linked = obj.ValueTable.VariableTypes~=4;
vals = obj.ValueTable.getNumericValues;
ptr = obj.CurrentVars(non_linked);
passign(ptr, parrayeval(ptr, @setvalue, {vals(non_linked)}));