www.gusucode.com > mbc 工具箱 matlab 源码程序 > mbc/@mbcmodel/@testplan/pInitialise.m

    function pInitialise(obj, TP)
%PINITIALISE Private function.
%
%  PINITIALISE( TESTPLAN, MDEVTESTPLAN ) 

%   Copyright 2004-2005 The MathWorks, Inc.

% Convert a pointer to the actual object
if isa(TP, 'xregpointer') && TP ~= 0
    TP = info(TP);
end

if isa(TP, 'mdevtestplan')
    obj.super(mfilename('fullpath'), address(TP));
else
    error(message('mbc:mbcmodel:testplan:InvalidArgument5'));
end