nnd.m

来自「神经网络设计书籍配套源码(matlab平台)」· M 代码 · 共 50 行

M
50
字号
function nnd(cmd)
%NND Neural Network Design graphical user interface.

% First Version, 8-31-95.

% BRING UP FIGURE IF IT EXISTS

me = 'nnd';
fig = nnfgflag(me);
if length(get(fig,'children')) == 0, fig = 0; end
if nargin == 0, cmd = ''; end

% CREATE FIGURE ========================================================

if strcmp(cmd,'') & (fig)
  figure(fig)

elseif strcmp(cmd,'') & (~fig)

  % START WITH STANDARD TITLE FIGURE

  fig = nntitlef(me,'DESIGN','Demonstrations', ...
    'PWS Publishing Co.','20 Park Plaza','Boston, MA  02116');

  % UNLOCK
  set(fig,'nextplot','add')

  % ICONS
  nndicon(2,130,230,'shadow')
  nndicon(3,170,130,'shadow')
  nndicon(4,210,230,'shadow')
  nndicon(7,250,130,'shadow')
  nndicon(10,290,230,'shadow')
  nndicon(11,330,130,'shadow')
  nndicon(14,370,230,'shadow')
  
  % BUTTONS
  drawnow % Let everthing else appear before buttons
  set(nnsfo('b7','Contents'), ...
    'callback','nndtoc')
  nnsfo('b9','Close')
  
  % LOCK FIGURE AND RETURN
  set(fig,'nextplot','new')

  nnchkfs;
end


⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?