www.gusucode.com > nncontrol 工具箱 matlab 源码程序 > nncontrol/private/nnmodrefhelp.m

    function nnmodrefhelp(varargin);
%NNMODREFHELP Help text for the Indirect Adaptive Control GUI
%
%  Synopsis
%
%   nnmodrefhelp(varargin) 
%
%   displays the help text for the portion of the Indirect Adaptive Control 
%   GUI specified by varargin. 
%
%  Warning!!
%
%    This function may be altered or removed in future
%    releases of Neural Network Toolbox. We recommend
%    you do not write code which calls this function.
%    This function is generally being called from a Simulink block.

% Orlando De Jesus, Martin Hagan, 1-25-00
% Copyright 1992-2013 The MathWorks, Inc.

if (nargin > 0)
  switch varargin{1},
  case 'main',
    %---Help for the main Model Reference Control window
    doc(fullfile(nnpath.nnet_root,'toolbox/nnet/nncontrol/private/nnmodrefhelp_main.m'));
    
  case 'train_contr',
    %---Help for the Training Controller process.    
    doc(fullfile(nnpath.nnet_root,'toolbox/nnet/nncontrol/private/nnmodrefhelp_train_contr.m'));
    
  case 'plant_ident',
    %---Help for the Plant Identification process 
    doc(fullfile(nnpath.nnet_root,'toolbox/nnet/nncontrol/private/nnmodrefhelp_plant_ident.m'));
    
  case 'simulation',
     %---Help for the simulation process
     doc(fullfile(nnpath.nnet_root,'toolbox/nnet/nncontrol/private/nnmodrefhelp_simulation.m'));
  end, % switch action
end