I can´t open mod files with dynare on octave

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.

I can´t open mod files with dynare on octave

Postby marcio_fr » Fri Nov 27, 2009 7:44 pm

Hi all,


I´m a new user of dynare and Octave. I´ve instaled the dynare v4.0.4 and octave 3.2.2, but I cannot run the .mod files. I typed the folling commands on octave:

addpath c:\dynare\4.0.4\matlab
mark_as_command dynare
dynare rbc.mod

And always give the same thing

"error: DYNARE: can´t open rbc.mod
error: called from
error: c:\dynare\4.0.4\matlab\dynare.m at line 85, column 3"

I hope you can help me, Márcio.
marcio_fr
 
Posts: 22
Joined: Fri Nov 27, 2009 7:14 pm

Re: I can´t open mod files with dynare on octave

Postby pakocica » Sat Nov 28, 2009 9:21 am

Dear Márcio,

are you sure you are in the right "Current directory" when you call the command dynare rbc.mod ?

Pavel
pakocica
 
Posts: 46
Joined: Fri Nov 27, 2009 6:42 pm
Location: Taiwan (come from Prague)

Re: I can´t open mod files with dynare on octave

Postby marcio_fr » Fri Dec 04, 2009 1:10 pm

Thank you for your help. Nevertheless, I have other dougth, after run the algoritm the octave shows the fowlling error mesenge: "structure has no member maximum_lag". Could you give-me some advise?

Best, Márcio.
marcio_fr
 
Posts: 22
Joined: Fri Nov 27, 2009 7:14 pm

Re: I can´t open mod files with dynare on octave

Postby pakocica » Fri Dec 04, 2009 5:56 pm

Dear Marcio,

can you show me PrintScreen shot? Either attach it here or send me by email: pakopublic (at) gmail (dot) com.

Regards,
Pavel
pakocica
 
Posts: 46
Joined: Fri Nov 27, 2009 6:42 pm
Location: Taiwan (come from Prague)

Re: I can´t open mod files with dynare on octave

Postby pakocica » Sat Dec 05, 2009 7:45 pm

After Mario sent me his code we found out that the problem was caused by the command "clear all" in the beginning of the filename.mod. This command was put into the middle of the filename.m file. So some of the declared variables ware erased.

Pavel
pakocica
 
Posts: 46
Joined: Fri Nov 27, 2009 6:42 pm
Location: Taiwan (come from Prague)


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 12 guests