| [1201] | 1 | %'script_check_required_toolbox': checks the Matlab toolboxes required for |
|---|
| 2 | %each function of the package UVMAT |
|---|
| 3 | |
|---|
| [1179] | 4 | %% check list of fcts in main folder |
|---|
| [1201] | 5 | disp('%%%%%%%%%%%% fcts in the master folder UVMAT %%%%%%%%%%%%') |
|---|
| [1179] | 6 | [~,~,~,list_fct]=check_files; |
|---|
| 7 | for ilist=1:numel(list_fct) |
|---|
| 8 | [~, pList] = matlab.codetools.requiredFilesAndProducts(list_fct{ilist}); |
|---|
| [1201] | 9 | Name_str=''; |
|---|
| 10 | for iname=1:numel(pList) |
|---|
| 11 | Name_str=[Name_str ' ' pList(iname).Name]; |
|---|
| 12 | end |
|---|
| 13 | disp([list_fct{ilist} ': ' Name_str]) |
|---|
| [1179] | 14 | end |
|---|
| 15 | |
|---|
| 16 | str=which('UVMAT'); |
|---|
| [1201] | 17 | path_uvmat=fileparts(str); |
|---|
| [1179] | 18 | |
|---|
| 19 | %% check list of fcts in transform_field |
|---|
| [1201] | 20 | disp('%%%%%%%%%%%% fcts in UVMAT/transform_field %%%%%%%%%%%%') |
|---|
| [1179] | 21 | dir_fct=fullfile(path_uvmat,'transform_field'); |
|---|
| 22 | list_fct=dir(dir_fct); |
|---|
| 23 | for ilist=1:numel(list_fct) |
|---|
| 24 | if ~isempty(regexp(list_fct(ilist).name,'.m$', 'once')) |
|---|
| [1201] | 25 | [~, pList] = matlab.codetools.requiredFilesAndProducts(fullfile(dir_fct,list_fct(ilist).name)); |
|---|
| 26 | Name_str=''; |
|---|
| 27 | for iname=1:numel(pList) |
|---|
| 28 | Name_str=[Name_str ' ' pList(iname).Name]; |
|---|
| 29 | end |
|---|
| 30 | disp([list_fct(ilist).name ': ' Name_str]) |
|---|
| [1179] | 31 | end |
|---|
| 32 | end |
|---|
| 33 | |
|---|
| 34 | %% check list of fcts in series |
|---|
| [1201] | 35 | disp('%%%%%%%%%%%% fcts in UVMAT/series %%%%%%%%%%%%') |
|---|
| [1179] | 36 | dir_fct=fullfile(path_uvmat,'series'); |
|---|
| 37 | list_fct=dir(dir_fct); |
|---|
| 38 | for ilist=1:numel(list_fct) |
|---|
| 39 | if ~isempty(regexp(list_fct(ilist).name,'.m$', 'once')) |
|---|
| [1201] | 40 | [~, pList] = matlab.codetools.requiredFilesAndProducts(fullfile(dir_fct,list_fct(ilist).name)); |
|---|
| 41 | Name_str=''; |
|---|
| 42 | for iname=1:numel(pList) |
|---|
| 43 | Name_str=[Name_str ' ' pList(iname).Name]; |
|---|
| 44 | end |
|---|
| 45 | disp([list_fct(ilist).name ':' Name_str]) |
|---|
| [1179] | 46 | end |
|---|
| 47 | end |
|---|
| 48 | |
|---|
| 49 | 'END SCRIPT' |
|---|