So I installed Dynare on Ubuntu 12.10 using the reposititories, and running it under octave, not matlab. Then i start Octave, a terminal window pops up:

[code]octave:1> dynare filename.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).

error: DYNARE: can’t open filename.mod
error: called from:
error: /usr/share/octave/site/m/dynare.m at line 104, column 5
octave:1>