ERROR evalin('base',fname) for Ubuntu


When I run the example file “example1.mod”

addpath /usr/share/dynare/matlab cd /home/basilou/Bureau/example1.mod dynare /home/basilou/Bureau/example1.mod

I have the following :

[code]Configuring Dynare …
[mex] Generalized QZ.
[mex] Sylvester equation solution.
[mex] Kronecker products.
[mex] Sparse kronecker products.
[mex] Bytecode evaluation.
[mex] k-order perturbation solver.
[mex] k-order solution simulation.

Starting Dynare (version 4.1.2).
Starting preprocessing of the model file …
Found 6 equation(s).
Evaluating expressions…done
Computing static model derivatives:

  • order 1
    Computing dynamic model derivatives:
  • order 1
  • order 2
    Processing outputs …done
    Preprocessing completed.
    Starting MATLAB/Octave computing.

??? Error: Unexpected MATLAB operator.

Error in ==> dynare at 134
evalin(‘base’,fname) ;[/code]

I try to reinstall Dynare using the Synaptic, and the Error is still there

I am using Matlab 7.9.0 (R2009b) and Ubuntu 9.10.

Using Octave the Error is the same.

Someone can help me ?

I find the error. The correct syntax is :

>> addpath /usr/share/dynare/matlab
>> cd /home/basilou/Bureau
>> dynare example1.mod