www.gusucode.com > mbc 工具箱 matlab 源码程序 > mbc/@mbcfoundation/@pointerinterface/pSetObject.m

    function val = pSetObject(obj, val)
%PSETOBJECT Updates the help pointer's info with the new object.
%
%  VAL = PSETOBJECT(OBJ, VAL)
%  

%  Copyright 2004-2005 The MathWorks, Inc.


% Is the pointer valid
if obj.isNotNull
    pointer = obj.Pointer;
    pointer.info = val;
end
% Hold nothing internally
val = [];