Page 1 of 1

Read-only matlab files of Dynare 4.4.3 for Mac

PostPosted: Sat Jan 10, 2015 12:29 am
by maylily01
I use Dynare 4.4.3 for Mac OS X. As I want to do IRFs to 1% shocks, I need to
put "options_.relative_irf=1;" before the estimation, then modify a line in
the file: dynare/4.4.3/Matlab/PosteriorIRF_core1.m, but this file is read only,
and doesn't allow me to make the change. However, my co-author, who is
using Dynare 4.4.3 for Windows does not have this problem.

Can anyone have any idea how to resolve this issue? Many thanks!

Re: Read-only matlab files of Dynare 4.4.3 for Mac

PostPosted: Tue Jan 13, 2015 10:08 am
by HoutanBastani
You have several options:

Option 1

Option 2
  • Open Terminal (/Applications/Utilities/Terminal)
  • Type:
    Code: Select all
    chmod a+w /Applications/Dynare/4.4.3/matlab/PosteriorIRF_core1.m
  • Then edit it as usual

In any event, it would be helpful to me if you:
  • Open Terminal (/Applications/Utilities/Terminal)
  • Type:
    Code: Select all
    ls -la /Applications/Dynare/4.4.3/matlab/PosteriorIRF_core1.m
  • Send me the output