Instal dynare 4.3.3 version

Hi
I need some help…I am using Matlab student version R2013a and dynare 4.3.3. I am trying to open dynare file but it doesn’t work. The sequence is the following

addpath c:\dynare\4.3.3\matlab
mex

Welcome to mex -setup. This utility will help you set up
a default compiler. For a list of supported compilers, see
mathworks.com/support/compil … win32.html

Please choose your compiler for building MEX-files:

Would you like mex to locate installed compilers [y]/n?
Select a compiler:
[1] Lcc-win32 C 2.4.1 in C:\PROGRA~4\MATLAB\2013a\sys\lcc

[0] None

Compiler: 1

Please verify your choices:

Compiler: Lcc-win32 C 2.4.1
Location: C:\PROGRA~4\MATLAB\2013a\sys\lcc

Are these correct [y]/n? y

Trying to update options file: C:\Users\pc\AppData\Roaming\MathWorks\MATLAB\R2013a\mexopts.bat
From template: C:\PROGRA~4\MATLAB\2013a\bin\win32\mexopts\lccopts.bat

Done . . .


Warning: The MATLAB C and Fortran API has changed to support MATLAB
variables with more than 2^32-1 elements. In the near future
you will be required to update your code to utilize the new
API. You can find more information about this at:
mathworks.com/help/matlab/ma … t-api.html
Building with the -largeArrayDims option enables the new API.


EDU>> dynare FILEUSA.mod

Configuring Dynare …
[mex] Generalized QZ.
[mex] Sylvester equation solution.
[mex] Kronecker products.
[mex] Sparse kronecker products.
[mex] Local state space iteration (second order).
[mex] Bytecode evaluation.
[mex] k-order perturbation solver.
[mex] k-order solution simulation.
[mex] Quasi Monte-Carlo sequence (Sobol).
[mex] Markov Switching SBVAR.

Error using dynare (line 96)
DYNARE: can’t open FILEUSA.mod

So, what should I do?
Thanks

You must set your Matlab current folder to the folder where the mod-file is located.

Hi
thank you for your response. I am trying to do it, but it doesn’t work. The response of matlab is:

Invalid MEX-file ‘C:\Windows\system32\ver.dll’:
C:\Windows\system32\ver.dll non è un’applicazione di Win32
valida.

Error in matlab_ver_less_than (line 38)
ver_struct = ver(‘matlab’);

Error in dynare (line 54)
if matlab_ver_less_than(‘7.0’)

I am sorry, I am new in matlab. What should I do next?