From 11c84b733f08693ffa6d020e84f72e4883e66c6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Adjemian=20=28Hermes=29?= Date: Fri, 5 Jun 2015 11:31:12 +0200 Subject: [PATCH] Fixed bug. isoctave is not in the path when calling add_path_to_mex_files. --- matlab/add_path_to_mex_files.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matlab/add_path_to_mex_files.m b/matlab/add_path_to_mex_files.m index 70f9fa7f5..8d5f718af 100644 --- a/matlab/add_path_to_mex_files.m +++ b/matlab/add_path_to_mex_files.m @@ -21,7 +21,7 @@ if nargin<2 modifypath = true; end -if isoctave +if exist('OCTAVE_VERSION') mexpath = {[dynareroot '../mex/octave/']}; if modifypath addpath(mexpath{1});