Why am I getting an error message "undefined function" when using the LAGMATRIX function in MATLAB 7.10 (R2010a)?
조회 수: 2 (최근 30일)
이전 댓글 표시
I try to compile using mcc command in R2010a and one of the MATLAB files to be compiled is toolbox/garch/lagmatrix.m. I am getting the error message that says it cannot find the LAGMATRIX function.
댓글 수: 0
답변 (3개)
Kenneth Eaton
2011년 1월 21일
Have you tried including that file using the MCC archive option -a? On a Windows machine it would look something like:
mcc ... -a C:\Program Files\MATLAB\R2010a\toolbox\garch\lagmatrix.m
댓글 수: 0
Walter Roberson
2011년 1월 21일
How are you referencing lagmatrix ? If it only appears inside a string, then you need to add
%#lagmatrix
댓글 수: 0
Gabo
2011년 6월 6일
The name of the toolbox changed in 2008b to Econometrics Toolbox. See release notes: http://www.mathworks.com/help/toolbox/econ/rn/bqwdtlh-2.html. Do
which lagmatrix
in the command line to verify the file's new location.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Java Package Integration에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!