Detection of MEX files: avoid confusion with directories of the same name than MEX files
git-svn-id: https://www.dynare.org/svn/dynare/trunk@3263 ac1d8469-bf42-47a9-8791-bf33cf982152time-shift
parent
4fba3936bf
commit
982ffa4996
|
@ -188,7 +188,7 @@ for i=1:number_of_mex_files
|
|||
end
|
||||
|
||||
% Test if bytecode DLL is present
|
||||
if exist('bytecode') == 3
|
||||
if exist('bytecode', 'file') == 3
|
||||
if ~multithread_flag
|
||||
message = '[mex] ';
|
||||
else
|
||||
|
@ -200,7 +200,7 @@ end
|
|||
disp([ message 'Bytecode evaluation.' ])
|
||||
|
||||
% Test if k-order perturbation DLL is present
|
||||
if exist('k_order_perturbation') == 3
|
||||
if exist('k_order_perturbation', 'file') == 3
|
||||
message = '[mex] ';
|
||||
else
|
||||
message = '[no] ';
|
||||
|
@ -208,7 +208,7 @@ end
|
|||
disp([ message 'k-order perturbation solver.' ])
|
||||
|
||||
% Test if dynare_simul_ DLL is present
|
||||
if exist('dynare_simul_') == 3
|
||||
if exist('dynare_simul_', 'file') == 3
|
||||
message = '[mex] ';
|
||||
else
|
||||
message = '[no] ';
|
||||
|
|
Loading…
Reference in New Issue