Browse Source

'code_MATLAB/Main_Plot_Figures.m' ändern

Ece Boran 3 years ago
parent
commit
abfd878b44
1 changed files with 4 additions and 4 deletions
  1. 4 4
      code_MATLAB/Main_Plot_Figures.m

+ 4 - 4
code_MATLAB/Main_Plot_Figures.m

@@ -10,7 +10,7 @@ strFieldTripPath = 'fieldtrip-20200315';
 strGrammPath = 'gramm-master'; % https://github.com/piermorel/gramm
 
 %% Add necessary folders to the MATLAB path
-addpath([strMainPath filesep 'code_MATLAB'])
+addpath([strMainPath,filesep,'code_MATLAB'])
 addpath(genpath(strNIXLibraryPath))
 addpath(strFieldTripPath)
 addpath(strGrammPath)
@@ -22,14 +22,14 @@ warning('strFieldTripPath should be the full path of the FieldTrip toolbox ''fie
 warning('strGrammPath should be the full path of the Gramm toolbox ''gramm-master''')
 
 %% NIX data files
-strNIXFileNames = dir([strMainPath filesep 'data_NIX' filesep '*.h5']);
+strNIXFileNames = dir([strMainPath,filesep,'data_NIX',filesep,'*.h5']);
 strNIXFileNames = {strNIXFileNames.name}';
 
 assert(~isempty(strNIXFileNames),'strMainPath should be the full path of the folder Human_Amygdala_MUA_sEEG_FearVideo')
 
 %% Figure 2
 nExampleNeuron = 32; % neuron 32 reproduces the publication figure
-fig2 = Figure_2([strMainPath filesep 'data_NIX' filesep],nExampleNeuron);
+fig2 = Figure_2([strMainPath,filesep,'data_NIX',filesep],nExampleNeuron);
 
 %% Figure 3
-fig3 = Figure_3([strMainPath filesep 'data_NIX' filesep]);
+fig3 = Figure_3([strMainPath,filesep,'data_NIX',filesep]);