Changeset 153
- Timestamp:
- 01/12/20 23:00:36 (5 years ago)
- Location:
- prdatasets
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
prdatasets/pr_download.m
r137 r153 75 75 function [a,new] = pr_download(url,datname,varargin) 76 76 77 %% make sur there is a data subdir 78 persistent DATADIREXISTS 79 if isempty(DATADIREXISTS) 80 datasubdir = fullfile(fileparts(which(mfilename)),'data'); 81 if exist(datasubdir,'dir') ~= 7 82 mkdir(datasubdir); 83 end 84 DATADIREXISTS = true; 85 end 86 87 %% 77 88 if nargin >= 3 78 89 % this can be removed when all mfiles in prdatasets call the new version -
prdatasets/pr_download_uci.m
r151 r153 31 31 32 32 function varargout = pr_download_uci(name,varargin) 33 %% 33 %% make sur there is a dta subdir 34 persistent DATADIREXISTS 35 if isempty(DATADIREXISTS) 36 datasubdir = fullfile(fileparts(which(mfilename)),'data'); 37 if exist(datasubdir,'dir') ~= 7 38 mkdir(datasubdir); 39 end 40 DATADIREXISTS = true; 41 end 34 42 35 43 %% handle old format -
prdatasets/pr_showdsets.m
r151 r153 1 1 %PR_SHOWDSETS Show datasets and store results in DSET 2 3 global ASK 4 ASK = false; 2 5 3 6 forget = {'Contents','mfeat_all','check_','pr_'};
Note: See TracChangeset
for help on using the changeset viewer.