Skip to content

Need ways to interact with Julia within the mod file. #98

@crobro254

Description

@crobro254

The current Dynare.jl do not supprot user defined steady state file as its matlab counterpart, which makes transformation from matlab harder.
In my personal tests that trying to get around the issue, I found the problem is far more frustrating than I originally thought.
In fact any variable or function defined before running the @dynare "xxx.mod" command can't be used within the execution of @dynare mod file, and you can't read values from files using Julia function like readdlm as it just throw an error.
The problem is beyond fulfilling the usage of custom steady state file, as unable to pass value into the mod file makes Dynare.jl detached from other wroking flow one performs with Julia before running the model.
For example, one may write codes that calibrate the model parameters, if the calibrated values can't be passed into the mod file beside manually typing them into the mod file, then what's the point for using Dynare.jl?
It worth mentioning that one has much more freedom in interacting with matlab environment, functions and values outside the mod file can be called within the mod file, which makes the integration of dynare with other works done with matlab codes much easier, and I think Dynare.jl deserves such level of integration with Julia.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions