Browse Source

minor bug fix in path setup

Alexander Freytag 10 năm trước cách đây
mục cha
commit
8322dab21d
1 tập tin đã thay đổi với 5 bổ sung1 xóa
  1. 5 1
      initWorkspaceWHOGeneric.m

+ 5 - 1
initWorkspaceWHOGeneric.m

@@ -54,7 +54,11 @@ function initWorkspaceWHOGeneric
     clear ( 's_pathDemos' );   
     
     % minor things, e.g., warping of blocks or padding of arrays
-    addpath( 'misc' );    
+    b_recursive             = false; 
+    b_overwrite             = true;
+    s_pathMisc              = fullfile(pwd, 'misc');
+    addPathSafely ( s_pathMisc, b_recursive, b_overwrite )
+    clear ( 's_pathMisc' );
     
     
     % read images from given filename