0001 function redmine_LUKE(opts)
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016 if nargin == 0,
0017 web('http://82.227.179.204:8080', '-new');
0018 else
0019 if ischar(opts) & size(opts,1) == 1
0020 opts = {opts};
0021 end
0022
0023 if ~iscell(opts),
0024 error('Inputs in redmine_LUKE must have a cell type.');
0025 else
0026 webstr = ['''http://82.227.179.204:8080'', ', '''-new'''];
0027 for iopts = 1:length(opts),
0028 webstr = [webstr,', ''',opts{iopts},''''];
0029 end
0030
0031 webstr = ['web(',webstr,');'];
0032
0033 eval(webstr);
0034 end
0035
0036 end
0037