Set constants --- History ????-??-?? ???? 2008-11-27 Taku Yoshioka Constants for verbose level 2009-01-26 Taku Yoshioka 2013-01-24 rhayashi Added vb_define_file Copyright (C) 2011, ATR All Rights Reserved. License : New BSD License(see VBMEG_LICENSE.txt)
0001 function [define] = vb_define_set(prog_dir) 0002 % Set constants 0003 % 0004 % --- History 0005 % ????-??-?? ???? 0006 % 2008-11-27 Taku Yoshioka 0007 % Constants for verbose level 0008 % 2009-01-26 Taku Yoshioka 0009 % 2013-01-24 rhayashi Added vb_define_file 0010 % 0011 % Copyright (C) 2011, ATR All Rights Reserved. 0012 % License : New BSD License(see VBMEG_LICENSE.txt) 0013 0014 define.DICOM = 1; % DICOM file 0015 define.BV_LEFT = 2; % Brain-Voyager file (left-brain) 0016 define.BV_RIGHT = 3; % Brain-Voyager file (right-brain) 0017 define.INF_LEFT = 4; % Inflation model file (left-brain) 0018 define.INF_RIGHT = 5; % Inflation model file (right-brain) 0019 define.BRAIN1 = 6; % BRAIN file (in fMRI menu) 0020 define.BRAIN2 = 7; % BRAIN file (in MEG menu) 0021 define.SPM = 8; % SPM file 0022 define.MEG = 9; % MEG file 0023 define.CORTEX = 10; % CORTEX file 0024 define.BASIS = 11; % BASIS file 0025 define.SAVE_DIR1 = 12; % Save dirtctory (in BRAIN menu) 0026 define.SAVE_DIR2 = 13; % Save dirtctory (in Leadfield menu) 0027 0028 define = vb_define_extension(define); 0029 define = vb_define_mode(define); 0030 define = vb_define_coordinate(define); 0031 define = vb_define_verbose(define); 0032 define = vb_define_file(define, prog_dir); 0033 0034 0035 % Maximum number of GUI instances 0036 define.PLOTMEG_MAX = 2; 0037 define.PLOTCMAP_MAX = 2; 0038 define.EDITAREA_MAX = 2; 0039 define.EDITACT_MAX = 2; 0040 define.VIEWLF_MAX = 2;