Home > SaliencyToolbox > declareGlobal.m

declareGlobal

PURPOSE ^

declareGlobal - declares global variables.

SYNOPSIS ^

This is a script file.

DESCRIPTION ^

 declareGlobal - declares global variables.

 declareGlobal declares the global variables:
     IS_INITIALIZED BASE_DIR IMG_DIR DATA_DIR TMP_DIR
     PD IMG_EXTENSIONS DEBUG_FID and initializes them,
     if they are not yet initialized.

 See also initializeGlobal.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 % declareGlobal - declares global variables.
0002 %
0003 % declareGlobal declares the global variables:
0004 %     IS_INITIALIZED BASE_DIR IMG_DIR DATA_DIR TMP_DIR
0005 %     PD IMG_EXTENSIONS DEBUG_FID and initializes them,
0006 %     if they are not yet initialized.
0007 %
0008 % See also initializeGlobal.
0009 
0010 % This file is part of the SaliencyToolbox - Copyright (C) 2006-2013
0011 % by Dirk B. Walther and the California Institute of Technology.
0012 % See the enclosed LICENSE.TXT document for the license agreement.
0013 % More information about this project is available at:
0014 % http://www.saliencytoolbox.net
0015 
0016 global IS_INITIALIZED IMG_EXTENSIONS DEBUG_FID;
0017 
0018 if isempty(IS_INITIALIZED)
0019   initializeGlobal;
0020 end

Generated on Thu 18-Jul-2013 06:10:46 by m2html © 2005