Matlab don´t find dynare_m

This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location where you will have to reset your password.
Forum rules
This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location (https://forum.dynare.org) where you will have to reset your password.

Matlab don´t find dynare_m

Postby enzimera » Wed Feb 01, 2012 11:32 am

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
enzimera
 
Posts: 1
Joined: Wed Feb 01, 2012 11:24 am

Re: Matlab don´t find dynare_m

Postby HoutanBastani » Mon Feb 06, 2012 11:01 am

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:

Code: Select all
system('dynare_m')


Of course, you would pass the mod file & whatever options you wanted in the string after dynare_m.
Best,
Houtan
HoutanBastani
 
Posts: 197
Joined: Fri Jan 22, 2010 4:11 pm
Location: Paris, France


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 5 guests