Replace websave by deprecated urlwrite for old versions of Matlab or Octave.

parent a92ad955
......@@ -19,7 +19,11 @@ function installx13()
if ~exist('x13.zip','file')
websave('x13.zip', 'http://www.dynare.org/x13/x13.zip');
if ( ~isoctave() && verLessThan('matlab', 'R2014b') )
websave('x13.zip', 'http://www.dynare.org/x13/x13.zip');
else
urlwrite('http://www.dynare.org/x13/x13.zip', 'x13.zip');
end
unzip('x13.zip');
movefile('binaries/linux','./linux');
movefile('binaries/windows','./windows');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment