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

Adapted codes to the json files new location.

parent 79a626ba
Branches
Tags
No related merge requests found
......@@ -42,9 +42,9 @@ end
% Get the equation from the JSON output.
if original
jsonfil = loadjson([DynareModel.fname '_original.json']);
jsonfil = loadjson([DynareModel.fname filesep() 'model' filesep() 'json' filesep() 'modfile-original.json']);
else
jsonfil = loadjson([DynareModel.fname '.json']);
jsonfil = loadjson([DynareModel.fname filesep() 'model' filesep() 'json' filesep() 'modfile.json']));
end
jsonmod = jsonfil.model;
jsoneqn = getEquationsByTags(jsonmod, 'name', eqname);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment