Page 1 of 1

dynare directory+filename not work

PostPosted: Fri Dec 30, 2011 8:50 am
by charles82
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

Re: dynare directory+filename not work

PostPosted: Mon Jan 02, 2012 1:25 pm
by charles82
how can I change M_, oo_, options_ from global to ** in order to support matlabpool ?

Re: dynare directory+filename not work

PostPosted: Tue Jan 03, 2012 2:06 pm
by charles82
this is because in dynare.m
in last line "evalin('base',fname) not support path

how solve?

Re: dynare directory+filename not work

PostPosted: Wed Jan 04, 2012 2:42 pm
by SébastienVillemot
We do not plan to change this.

You can simply do:

Code: Select all
cd [directory]
dynare [filename]

Re: dynare directory+filename not work

PostPosted: Thu Jan 05, 2012 2:10 am
by charles82
because cd in one lab(matlabpool), it also executes on all labs.
so can't use cd, addpath, or rmpath command.