Commit c4e78163 authored by sebastien's avatar sebastien
Browse files

v4: removed mex/common/


git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@1518 ac1d8469-bf42-47a9-8791-bf33cf982152
parent 59e8deea
......@@ -10,11 +10,15 @@ function dynare(fname, varargin)
% is processed.
MATLAB = ver('matlab');
% FIXME:
% It's not satisfactory to convert string versions into numbers, and to
% compare these numbers:
% - conversion will fail if version = 1.2.3
% - it will give 7.10 < 7.9
VERSION = str2num(MATLAB.Version);
dynareroot = strrep(which('dynare.m'),'dynare.m','');
addpath([dynareroot 'mex/common/']);
if (VERSION <= 7.4)
addpath([dynareroot 'mex/2007a/'])
elseif (VERSION == 7.5)
......
Supports Markdown
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