Undefined function 'MATLAB' for input arguments of type 'char'
조회 수: 3 (최근 30일)
이전 댓글 표시
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
답변 (3개)
Andreas Goser
2013년 11월 12일
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
Joe
2014년 4월 21일
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
Walter Roberson
2014년 4월 21일
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
참고 항목
카테고리
Help Center 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!