2015-08-12 18:37:41 +02:00
|
|
|
# Modification of the path (for packages). Should be done in ~/.juliarc.jl with a fixed path instead.
|
2015-08-17 12:29:59 +02:00
|
|
|
if isempty(findin([abspath("../../../julia")], LOAD_PATH))
|
|
|
|
unshift!(LOAD_PATH, abspath("../../../julia"))
|
|
|
|
end
|
2015-08-12 18:37:41 +02:00
|
|
|
|
2018-03-10 15:09:36 +01:00
|
|
|
# Load Dynare package(s)
|
|
|
|
using Dynare
|
|
|
|
using SteadyState
|
2015-08-12 18:37:41 +02:00
|
|
|
|
|
|
|
# Compile the rbc.mod file -> produce a module with the model definition.
|
2018-03-10 15:09:36 +01:00
|
|
|
@dynare "rbc1.mod"
|
2016-05-19 12:26:08 +02:00
|
|
|
|
2018-03-10 15:09:36 +01:00
|
|
|
# Compute the steady state
|
|
|
|
steady_state!(model_, oo_)
|