Configuration issue with Mac

This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location where you will have to reset your password.
Forum rules
This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location (https://forum.dynare.org) where you will have to reset your password.

Configuration issue with Mac

Postby minskymoment » Fri Apr 14, 2017 3:38 pm

Hi, Apologies for the basic question, but I've been struggling for a while with this.

I am running 4.4.3 on Matlab R2016a on Mac OXS 10.11.6.

I have:
- installed dynare to the applications folder
- added (folder not subfolders) the dynare/matlab/ folder to the path
- run:
>> cd /Applications/Dynare/4.4.3/examples
>> dynare example1.mod

And am getting the following error message:
"ERROR: Can't open file example1.m for writing

Error using fprintf
Invalid file identifier. Use fopen to generate a valid file identifier.

Error in dynare (line 168)
fprintf(fid, '%s', result);"

Do you have any suggestions?

Many thanks
minskymoment
 
Posts: 4
Joined: Fri Apr 14, 2017 3:20 pm

Re: Configuration issue with Mac

Postby minskymoment » Fri Apr 14, 2017 3:52 pm

Oh and I've set the Sharing & Permissions for both Matlab and the Dynare folder in Applications to Read & Write for all users.
minskymoment
 
Posts: 4
Joined: Fri Apr 14, 2017 3:20 pm

Re: Configuration issue with Mac

Postby jpfeifer » Fri Apr 14, 2017 4:11 pm

Please try copying the example to a folder where you definitely have write permission and try whether the problem persists there.
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany

Re: Configuration issue with Mac

Postby minskymoment » Fri Apr 14, 2017 8:36 pm

That worked the trick. Thanks very much!
minskymoment
 
Posts: 4
Joined: Fri Apr 14, 2017 3:20 pm


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 6 guests