Adapted codes to the json files new location.

parent 79a626ba
......@@ -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);
......
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