VERB_code_2.3
setup.m
1 %% setup the verb code for different figures
2 
3 FIGURE = 'd'; % 'a' - No chorus, 'b' - Dayside only, 'c' - Nightside only, 'd' - Nightside + dayside
4 RUN = true;
5 PLOT = true;
6 VERBcodePath = '../Execute/';
7 
8 OutputFolder = [VERBcodePath 'Output_12' FIGURE '/'];
9 if(RUN)
10  if(~exist(OutputFolder,'file'))
11  mkdir(OutputFolder)
12  end
13  copyfile([VERBcodePath 'Parameters_12' FIGURE '.ini'],[VERBcodePath 'Parameters.ini']);
14 
15  % this file may be obtained by any run of the VERB code with parameters of
16  % the grid
17  cd(VERBcodePath)
18  system('VERB_code_2.03.000.exe');
19  cd('../Setup/');
20 end
21 
22 if(PLOT)
23 cd('../Plot/')
24 run('Plot.m');
25 cd('../Setup/')
26 end
Parameters_structure parameters
Parameters structure, with all parameters from the parameters.ini file. The default parameters define...
Definition: Main.cpp:185