dynare files opening problem

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.

dynare files opening problem

Postby fkaranki » Sat Jun 07, 2014 5:24 pm

I intalled dynare 4.4.2 at matlab succesfully.But I cannot open files which has extension .mod. I take below error.Please tell me what I can do.Th.anks in advance

The file example1.mod could not be located in the "Current Folder". Check whether you typed in the correct filename
and whether the file is really located in the "Current Folder".

Current folder is /Applications/Dynare/4.4.2, and contains the following mod files:

Error using ls (line 36)
ls: *.mod: No such file or directory


Error in dynare (line 134)
ls *.mod;
fkaranki
 
Posts: 6
Joined: Sat Jun 07, 2014 5:18 pm

Re: dynare files opening problem

Postby jpfeifer » Sat Jun 07, 2014 8:12 pm

The file is not located in /Applications/Dynare/4.4.2 but in /Applications/Dynare/4.4.2/examples. You need to set your current folder to this.
------------
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: dynare files opening problem

Postby fkaranki » Sun Jun 08, 2014 4:15 am

Thank you very much for your help.
But unfortunately computer is not a good friend for me.
Could you please tell me how I can do this in matlab on mac?

Thanks so much.
fkaranki
 
Posts: 6
Joined: Sat Jun 07, 2014 5:18 pm

Re: dynare files opening problem

Postby jpfeifer » Sun Jun 08, 2014 7:08 am

Try typing
Code: Select all
cd /Applications/Dynare/4.4.2/examples
------------
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: dynare files opening problem

Postby fkaranki » Sun Jun 08, 2014 7:53 am

it works.thank you but I have one more problem.

when I want to save a script file with .mod extension, I have encountered a problem like below.

"You cannot save this document with extension “.mod” at the end of the name. The required extension is “.m”."

Appreciate if you can help me about this issue as well.

Thank you very much indeed.
fkaranki
 
Posts: 6
Joined: Sat Jun 07, 2014 5:18 pm

Re: dynare files opening problem

Postby jpfeifer » Sun Jun 08, 2014 4:51 pm

Sorry, but I am not a Mac user. You need to sort this out yourself. Maybe you have friends who also use Matlab on MAC.
------------
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: dynare files opening problem

Postby fkaranki » Sun Jun 08, 2014 6:24 pm

Thanks anyway
fkaranki
 
Posts: 6
Joined: Sat Jun 07, 2014 5:18 pm


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 5 guests