m-files in mod files

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.

m-files in mod files

Postby petros_varth » Wed Feb 03, 2010 1:26 am

Hi everybody,

I would like to solve for the steady-state and the introduce this m-file in the mod-file.How i can do it?

Thanks.
petros_varth
 
Posts: 45
Joined: Wed Sep 30, 2009 5:35 pm

Re: m-files in mod files

Postby AssiaEzzeroug » Wed Feb 03, 2010 8:26 am

Hi,

by "solve for the steady-state" you mean solve the steady-state by hand? If so, you can specify it in the block "initval;" just below the block model in your mod-file.

Best
AssiaEzzeroug
 
Posts: 83
Joined: Tue Nov 24, 2009 3:48 pm

Re: m-files in mod files

Postby petros_varth » Thu Feb 04, 2010 12:14 am

No i mean creating an mfile in matlab,then i want to take this values for steady state but directly from the mfile.

Thanks for your time.
petros_varth
 
Posts: 45
Joined: Wed Sep 30, 2009 5:35 pm

Re: m-files in mod files

Postby SébastienVillemot » Thu Feb 04, 2010 12:01 pm

Hi

What you can do is to create a _steadystate.m file. This is explained in many posts of this forum.

Best
Sébastien Villemot
Economist at OFCE – Sciences Po
SébastienVillemot
 
Posts: 706
Joined: Fri Dec 07, 2007 2:29 pm
Location: Paris, France


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 8 guests