Home > FMAToolbox > Data > GlobalSettings.m

GlobalSettings

PURPOSE ^

GlobalSettings - Initialize settings for FMAToolbox.

SYNOPSIS ^

This is a script file.

DESCRIPTION ^

GlobalSettings - Initialize settings for FMAToolbox.

 The global variable SETTINGS holds a number of basic settings such as the
 minimum and maximum distance allowed between LEDs. Modify this variable to
 customize individual values. For instance, to change the maximum distance
 between LEDs, add the following two lines to your startup.m file:

   global SETTINGS;
   SETTINGS.maxDistance = 100;

 To change the global settings, edit <a href="matlab:edit GlobalSettings.m">GlobalSettings.m</a>. Note that this will
 affect all users of the FMAToolbox. User settings take precedence over
 global settings.

 For some functions of the toolbox, default values can also be customized
 (see <a href="matlab:help CustomDefaults.m">CustomDefaults.m</a> for details).

 SEE

   See also CustomDefaults.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 %GlobalSettings - Initialize settings for FMAToolbox.
0002 %
0003 % The global variable SETTINGS holds a number of basic settings such as the
0004 % minimum and maximum distance allowed between LEDs. Modify this variable to
0005 % customize individual values. For instance, to change the maximum distance
0006 % between LEDs, add the following two lines to your startup.m file:
0007 %
0008 %   global SETTINGS;
0009 %   SETTINGS.maxDistance = 100;
0010 %
0011 % To change the global settings, edit <a href="matlab:edit GlobalSettings.m">GlobalSettings.m</a>. Note that this will
0012 % affect all users of the FMAToolbox. User settings take precedence over
0013 % global settings.
0014 %
0015 % For some functions of the toolbox, default values can also be customized
0016 % (see <a href="matlab:help CustomDefaults.m">CustomDefaults.m</a> for details).
0017 %
0018 % SEE
0019 %
0020 %   See also CustomDefaults.
0021 
0022 % Copyright (C) 2004-2017 by Michaƫl Zugaro
0023 %
0024 % This program is free software; you can redistribute it and/or modify
0025 % it under the terms of the GNU General Public License as published by
0026 % the Free Software Foundation; either version 3 of the License, or
0027 % (at your option) any later version.
0028 
0029 global SETTINGS;
0030 
0031 if ~isfield(SETTINGS,'minFieldSize'),
0032     SETTINGS.minFieldSize = 100;
0033 end

Generated on Fri 16-Mar-2018 13:00:20 by m2html © 2005