Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DynareOBC should support loading parameter values from a file #22

Open
tholden opened this issue Aug 19, 2020 · 0 comments
Open

DynareOBC should support loading parameter values from a file #22

tholden opened this issue Aug 19, 2020 · 0 comments

Comments

@tholden
Copy link
Owner

tholden commented Aug 19, 2020

For example, in “SWNLWCD.mod” replace the stuff that begins in lines 49-118 (the parameter values) with loading the same parameter values from an outside file according to:

load  params_SWNLWCD_values.mat;
for i=1:length(M_.params)
    deep_parameter_name = M_.param_names(i,:);
    eval(['M_.params(i)  = ' deep_parameter_name ' ;'])
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant