1 ## Copyright (C) 2006 Michel D. Schmid <michaelschmid@users.sourceforge.net>
3 ## This program is free software; you can redistribute it and/or modify it
4 ## under the terms of the GNU General Public License as published by
5 ## the Free Software Foundation; either version 2, or (at your option)
8 ## This software is distributed in the hope that it will be useful, but
9 ## WITHOUT ANY WARRANTY; without even the implied warranty of
10 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 ## General Public License for more details.
13 ## You should have received a copy of the GNU General Public License
14 ## along with this software; see the file COPYING. If not, see
15 ## <http://www.gnu.org/licenses/>.
18 ## @deftypefn {Function File} {} __printAdaptFcn (@var{fid})
19 ## @code{printMLPHeader} saves the header of a neural network structure
20 ## to a *.txt file with identification @code{fid}.
23 ## Author: Michel D. Schmid
25 function __printAdaptFcn(fid,net)
27 if isfield(net,"adaptFcn")
28 if isempty(net.adaptFcn)
29 fprintf(fid," adaptFcn: '%s'\n","empty");
31 fprintf(fid," adaptFcn: '%s'\n",net.adaptFcn);