| 1 | % | % | 
| 2 | % [] = PV_CHECKPATH() | % [] = pv_checkpath() | 
| 3 | % | % | 
| 4 | % This function detects where the package gmaze_pv is installed | % This function detects where the package gmaze_pv is installed | 
| 5 | % (the upper level directory where the function volbet2iso | % (the upper level directory where the function volbet2iso | 
| 21 |  |  | 
| 22 | % Try to found needed subdirectories: | % Try to found needed subdirectories: | 
| 23 |  |  | 
| 24 | subdir     = struct('name',{'subfct','test'}); | subdir     = struct('name',{'subfct','test','visu'}); | 
| 25 |  |  | 
| 26 | for id = 1 : size(subdir(:),1) | for id = 1 : size(subdir(:),1) | 
| 27 | subdirname = subdir(id).name; | subdirname = subdir(id).name; |