1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
|
Description: Hardcode the root of the Dynare installation
Otherwise it will be incorrectly detected because of the symlink for Octave.
Author: Sébastien Villemot <sebastien@debian.org>
Forwarded: not-needed
--- a/matlab/dynare_config.m
+++ b/matlab/dynare_config.m
@@ -35,7 +35,7 @@ function dynareroot = dynare_config(path
if nargin && ~isempty(path_to_dynare)
addpath(path_to_dynare);
end
-dynareroot = strrep(which('dynare'),'dynare.m','');
+dynareroot = '/usr/lib/dynare/matlab/';
origin = pwd();
cd([dynareroot '/..'])
|