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

    function obj = response(MD, varargin)
%RESPONSE Private mbcmodel.response constructor
%
%   RESP = mbcmodel.RESPONSE( MODELDEV )
%   RESP = mbcmodel.RESPONSE( PMODELDEV )
%   RESP = mbcmodel.RESPONSE(MODELDEV, PROP, VALUE, ...)
%   RESP = mbcmodel.RESPONSE( PMODELDEV, PROP, VALUE, ...)

%   Copyright 2004-2005 The MathWorks, Inc.

% Create the udd object
obj = mbcmodel.response;
% And initialise it
obj.pInitialise(MD);
% Finally set the appropriate fields
obj.set(varargin{:});