Home > functions > default_param > vb_define_set.m

vb_define_set

PURPOSE ^

Set constants

SYNOPSIS ^

function [define] = vb_define_set()

DESCRIPTION ^

 Set constants

 --- History
 ????-??-?? ????
 2008-11-27 Taku Yoshioka
   Constants for verbose level
 2009-01-26 Taku Yoshioka

 Copyright (C) 2011, ATR All Rights Reserved.
 License : New BSD License(see VBMEG_LICENSE.txt)

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function [define] = vb_define_set()
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 %
0010 % Copyright (C) 2011, ATR All Rights Reserved.
0011 % License : New BSD License(see VBMEG_LICENSE.txt)
0012 
0013 define.DICOM = 1;    % DICOM file
0014 define.BV_LEFT = 2;    % Brain-Voyager file (left-brain)
0015 define.BV_RIGHT = 3;    % Brain-Voyager file (right-brain)
0016 define.INF_LEFT = 4;    % Inflation model file (left-brain)
0017 define.INF_RIGHT = 5;    % Inflation model file (right-brain)
0018 define.BRAIN1 = 6;    % BRAIN file (in fMRI menu)
0019 define.BRAIN2 = 7;    % BRAIN file (in MEG menu)
0020 define.SPM = 8;        % SPM file
0021 define.MEG = 9;        % MEG file
0022 define.CORTEX = 10;    % CORTEX file
0023 define.BASIS = 11;    % BASIS file
0024 define.SAVE_DIR1 = 12;    % Save dirtctory (in BRAIN menu)
0025 define.SAVE_DIR2 = 13;    % Save dirtctory (in Leadfield menu)
0026 
0027 define.STD_BRAIN_MASK_FILE = which('brain_mask.mat');
0028 define.STD_BRAIN_CORTEX_FILE = which('ch2_std.brain.mat');
0029 
0030 
0031 define = vb_define_extension(define);
0032 define = vb_define_mode(define);
0033 define = vb_define_coordinate(define);
0034 define = vb_define_verbose(define);
0035 
0036 % Maximum number of GUI instances
0037 define.PLOTMEG_MAX = 2; 
0038 define.PLOTCMAP_MAX = 2;
0039 define.EDITAREA_MAX = 2;
0040 define.EDITACT_MAX = 2;
0041 define.VIEWLF_MAX = 2;

Generated on Tue 27-Aug-2013 11:46:04 by m2html © 2005