Undefined function 'MATLAB' for input arguments of type 'char'
3 views (last 30 days)
Show older comments
I am new to matlab and I am running and I am encountering the above problem.
>addpath /applications/dynare/4.33/matlab/
>dynare Foreign
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.
Starting Dynare (version 4.33).
Starting preprocessing of the model file...
Substitution of endo lags >=2: added 1 auxiliary variables and equations.
Found 36 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.
Undefined function 'MATLAB' for input argument of type 'char'.
Error in Foreign (line 269)
MATLAB 5.0 MAT-file, Platform:MACI64, created on: Sat Oct 5 07:29:38 2013
Error in dynare (line 120)
evalin('base',fname);
I don't know how to proceed and don't know what to do from here. Please help. I use macbook and am able to run my lecturers tute so am not sure if it's something to do with installation or it's just my mod file.
0 Comments
Answers (3)
Andreas Goser
on 12 Nov 2013
While MATLAB Answers may be a good forum to get the attention of Dynare users, you may want to consult the Dynare support page.
As of my general experience: The majority of issue with MATLAB 3rd party tools is on compatibilty. Please make sure your environment is supported.
0 Comments
Joe
on 21 Apr 2014
As shown in the error information, your dynare code, i.e. Foreign.mod, should be checked at line 269. Open your .mod file in matlab editor and check that line. You may missed some command or typo. I am experienced in using Dynare, but cannot command on your problem without your .mod file.
Joe
0 Comments
Walter Roberson
on 21 Apr 2014
You are asking to process a file named Foreign. Inside that file at line 269 you have a line
MATLAB 5.0 MAT-file, Platform:MACI64, created on: Sat Oct 5 07:29:38 2013
that should not be there.
I have no idea what your Foreign file looks like so I have no suggestions at the moment as to what should be there instead or how the line got there.
0 Comments
See Also
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!