Fixed bug.

isoctave is not in the path when calling add_path_to_mex_files.
time-shift
Stéphane Adjemian (Hermes) 2015-06-05 11:31:12 +02:00
parent b1dce40284
commit 11c84b733f
1 changed files with 1 additions and 1 deletions

View File

@ -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});