소스 검색

minor bug fix in path setup

Alexander Freytag 10 년 전
부모
커밋
8322dab21d
1개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제
  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