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
|
|
|
|
|
|
|
# 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.
|
2016-05-19 12:26:08 +02:00
|
|
|
|
|
|
|
|
2016-05-19 16:34:47 +02:00
|
|
|
@dynare "rbc2.mod"
|
2016-05-19 12:26:08 +02:00
|
|
|
|
2016-05-19 18:32:48 +02:00
|
|
|
print(model_.fname)
|