Why am I getting an error message "undefined function" when using the LAGMATRIX function in MATLAB 7.10 (R2010a)?
4 ビュー (過去 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 で MATLAB Compiler についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!