# Matlab don´t find dynare_m

Hi,

I compile a snapshot of few days ago of dynare, i installed it and it´s seems it´s ok but if i try execute dynare_m on matlab’s command line i get :

dynare_m
Undefined function or variable ‘dynare_m’.

I have the path correctly then i don´t understand why don´t find it because from linux’s command line i can get :
[root@peter temp]# which dynare_m
/usr/local/lib/matlab/dynare_m

¿ any suggestions ?

thanks

dynare_m is not a matlab or mex file, so you cannot run it as you are trying to do from the Matlab prompt. I assume you’re trying to do this because you just want to preprocess the mod file. The command you need is:

Of course, you would pass the mod file & whatever options you wanted in the string after dynare_m.