dynare directory+filename not work

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 directory+filename not work

Postby charles82 » Fri Dec 30, 2011 8:50 am

I need do not use change directory comand (cd) in matlab,
because parfor not support cd,
how can I do dynare in different directory?
dynare directory+filename not work

PS:
wc_nk@yahoo.com.cn
charles82
 
Posts: 12
Joined: Fri Dec 30, 2011 8:41 am

Re: dynare directory+filename not work

Postby charles82 » Mon Jan 02, 2012 1:25 pm

how can I change M_, oo_, options_ from global to ** in order to support matlabpool ?
charles82
 
Posts: 12
Joined: Fri Dec 30, 2011 8:41 am

Re: dynare directory+filename not work

Postby charles82 » Tue Jan 03, 2012 2:06 pm

this is because in dynare.m
in last line "evalin('base',fname) not support path

how solve?
charles82
 
Posts: 12
Joined: Fri Dec 30, 2011 8:41 am

Re: dynare directory+filename not work

Postby SébastienVillemot » Wed Jan 04, 2012 2:42 pm

We do not plan to change this.

You can simply do:

Code: Select all
cd [directory]
dynare [filename]
Sébastien Villemot
Economist at OFCE – Sciences Po
SébastienVillemot
 
Posts: 706
Joined: Fri Dec 07, 2007 2:29 pm
Location: Paris, France

Re: dynare directory+filename not work

Postby charles82 » Thu Jan 05, 2012 2:10 am

because cd in one lab(matlabpool), it also executes on all labs.
so can't use cd, addpath, or rmpath command.
charles82
 
Posts: 12
Joined: Fri Dec 30, 2011 8:41 am


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 5 guests