hi, everyone, recently I was trying to replicate the results of Climate Transition Risk and the Role of Bank Capital Requirements(Garcia-Villegas & Martorell,2024). The replication file said the .mod is running under the version of dynare 5.4. After installing dynare 5.4 in Matlab 2019a, I try to run the .mod, but it did not work and always reported the following error:
cannot open file: permission denied.
I have no idea how to solve this problem. please help me .
Usually, that is a problem with insuficient write permissions in the folder you are using or because a cloud drive blocks write access.
thank you very much, professor! Could you please give me some clues to solve this problem? Meanwhile I tried to replicate the results for several times using dynare 4.5.7 and found that the replication code used a function called obj_func, which I could not find in dynare 4.5.7. Does this mean that the function obj_func is included in dynare 5.4? Is it possible if I use the function obj_func as a outside function in dynare 4.5.7? Thanks again!