Adapted codes to the json files new location.
parent
24e2a76c39
commit
c5ebb2ca30
|
@ -43,7 +43,7 @@ global M_ oo_ options_
|
|||
assert(nargin >= 1 && nargin <= 3, 'dyn_ols: takes between 1 and 3 arguments');
|
||||
assert(isdseries(ds), 'dyn_ols: the first argument must be a dseries');
|
||||
|
||||
jsonfile = [M_.fname '_original.json'];
|
||||
jsonfile = [M_.fname filesep() 'model' filesep() 'json' filesep() 'modfile-original.json']);
|
||||
if exist(jsonfile, 'file') ~= 2
|
||||
error('Could not find %s! Please use the json=compute option (See the Dynare invocation section in the reference manual).', jsonfile);
|
||||
end
|
||||
|
|
|
@ -30,7 +30,7 @@ function olseqs(ds, varargin)
|
|||
|
||||
global M_ oo_
|
||||
|
||||
jsonfile = [M_.fname '_original.json'];
|
||||
jsonfile = [M_.fname filesep() 'model' filesep() 'json' filesep() 'modfile-original.json']);
|
||||
if exist(jsonfile, 'file') ~= 2
|
||||
error('Could not find %s! Please use the json option (See the Dynare invocation section in the reference manual).', jsonfile);
|
||||
end
|
||||
|
|
|
@ -62,7 +62,7 @@ else
|
|||
end
|
||||
|
||||
%% Read JSON
|
||||
jsonfile = [M_.fname '_original.json'];
|
||||
jsonfile = [M_.fname filesep() 'model' filesep() 'json' filesep() 'modfile-original.json']);
|
||||
if exist(jsonfile, 'file') ~= 2
|
||||
error('Could not find %s! Please use the json=compute option (See the Dynare invocation section in the reference manual).', jsonfile);
|
||||
end
|
||||
|
|
|
@ -43,7 +43,7 @@ else
|
|||
end
|
||||
|
||||
%% Read JSON
|
||||
jsonfile = [M_.fname '_original.json'];
|
||||
jsonfile = [M_.fname filesep() 'model' filesep() 'json' filesep() 'modfile-original.json'];
|
||||
if exist(jsonfile, 'file') ~= 2
|
||||
error('Could not find %s! Please use the json=compute option (See the Dynare invocation section in the reference manual).', jsonfile);
|
||||
end
|
||||
|
|
|
@ -41,7 +41,7 @@ function plot_contributions(equationname, ds1, ds0)
|
|||
|
||||
global M_
|
||||
|
||||
jsonfile = [M_.fname '_original.json'];
|
||||
jsonfile = [M_.fname filesep() 'model' filesep() 'json' filesep() 'modfile-original.json'];
|
||||
if exist(jsonfile, 'file') ~= 2
|
||||
error('Could not find %s! Please use the json option (See the Dynare invocation section in the reference manual).', jsonfile);
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue