Skip to content
Snippets Groups Projects
Commit 757f6f58 authored by Stéphane Adjemian's avatar Stéphane Adjemian
Browse files

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

parent a92ad955
Branches
No related tags found
No related merge requests found
......@@ -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');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment