dynare/tests/julia/rbc/test1.jl

14 lines
372 B
Julia
Raw Normal View History

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.
if isempty(findin([abspath("../../../julia")], LOAD_PATH))
unshift!(LOAD_PATH, abspath("../../../julia"))
end
2015-08-12 18:37:41 +02:00
# Load Dynare package
2015-08-13 11:11:50 +02:00
importall Dynare
2015-08-12 18:37:41 +02:00
# Compile the rbc.mod file -> produce a module with the model definition.
@dynare "rbc1.mod"
print(model_.fname)