0001 clear all;
0002 close all;
0003 clc;
0004
0005 list = dir('*.m');
0006
0007 issues = {};
0008
0009 for k = 1 : numel(list)
0010 s = list(k).name;
0011 s = s(1:end-2);
0012 switch s
0013 case mfilename()
0014 case 'positive_definite_karcher_mean'
0015 otherwise
0016 try
0017 eval([s, ';']);
0018 catch
0019 issues{end+1} = s;
0020 end
0021 end
0022 end
0023
0024 if ~isempty(issues)
0025 warning('There were issues running the following scripts:');
0026 disp(issues);
0027 else
0028 fprintf('\n\nNo particular issues detected.\n');
0029 end