We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8088791 commit 3cd8413Copy full SHA for 3cd8413
initCppRoi.m
@@ -10,9 +10,13 @@ function initCppRoi()
10
% directory with this script becomes the current directory
11
thisDirectory = fileparts(mfilename('fullpath'));
12
13
+ pathSep = ':';
14
+ if ~isunix
15
+ pathSep = ';';
16
+ end
17
% we add all the subfunctions that are in the sub directories
18
CPP_ROI_PATHS = genpath(fullfile(thisDirectory, 'src'));
- CPP_ROI_PATHS = cat(2, CPP_ROI_PATHS, ':', ...
19
+ CPP_ROI_PATHS = cat(2, CPP_ROI_PATHS, pathSep, ...
20
fullfile(thisDirectory, 'lib', 'marsbar-0.44'));
21
addpath(CPP_ROI_PATHS, '-begin');
22
0 commit comments