[5f391e]: / ltfatsetdefaults.m  Maximize  Restore  History

Download this file

21 lines (19 with data), 574 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
function ltfatsetdefaults(fname,varargin)
%LTFATSETDEFAULTS Set default parameters of function
%
% LTFATSETDEFAULTS(fname,...) will set the default parameters
% to be the parameters specified at the end of the list of input arguments.
%
% LTFATSETDEFAULTS(fname) will clear any default parameters for the function
% fname.
%
% LTFATSETDEFAULTS('clearall') will clear all defaults from all
% functions.
%
% See also: ltfatgetdefaults, ltfatstart
if strcmpi(fname,'clearall')
ltfatarghelper('clearall');
else
ltfatarghelper('set',fname,varargin);
end;
%OLDFORMAT