Page 1 of 1

Setting path in Matlab

PostPosted: Tue Feb 07, 2017 7:24 pm
by rarhol
I am completely new to both Matlab and Dynare (as in...I just downloaded them both about 45mins ago) and am trying to get started.

I browsed online and found that I need to include the matlab subfolder of my dynare folder in the durrent file path.

So, I have gone to the editor tab > set path button > add folder button > selected the dynare folder > selected the matlab subfolder and added this folder. However, matlab is still saying dynare is missing from the file path.

Am I doing something wrong here?

Re: Setting path in Matlab

PostPosted: Tue Feb 07, 2017 9:23 pm
by jpfeifer
No, that is correct. If you go to the same tab, check whether the path is still there. If it is, type
Code: Select all
which dynare.m

into the command window to check whether the dynare m-file can be found.

Re: Setting path in Matlab

PostPosted: Tue Feb 14, 2017 5:04 pm
by rarhol
when I type CODE: select all

I get:

error: unexpected MATLAB expression

and when i type select all:

Undefined function 'select' for input arguments of type 'char'.

Re: Setting path in Matlab

PostPosted: Tue Feb 14, 2017 5:05 pm
by rarhol
sorry - forgot this part:

>> which dynare.m
/Applications/Dynare/4.4.3/matlab/dynare.m

Re: Setting path in Matlab

PostPosted: Tue Feb 14, 2017 6:47 pm
by jpfeifer
Your path looks fine. But how are you executing/calling Dynare in Matlab. I don't get what you are doing with
Code: Select all
select all