Error using adftest

I can't seem to get the adftest function from the econometrics toolbox to work.
Whenever I use it, I get the error message "??? Undefined function or method 'adftest' for input arguments of type 'double'.".
Upon trying to reproduce the examples using adftest from http://www.mathworks.com/help/toolbox/econ/bsf2u3f-1.html#bsf2u3f-13 I get the same error.
Any help would be greatly appreciated.

 采纳的回答

Oleg Komarov
Oleg Komarov 2011-4-13

0 个投票

Seems like there is a path problem. Is the econometric toolbox listed when you type ver in the cmd window?

5 个评论

The econometrics toolbox is listed when I enter ver:
Econometrics Toolbox Version 1.4 (R2010b)
What do you get with:
which adftest -all
C:\Program Files\MATLAB\R2010b\toolbox\econ\econ\adftest.m % Has no license available
I guess this is the problem? I do have a license though...
Then you should configure properly the linceses.
This may be of help: http://www.mathworks.com/support/tech-notes/1300/1303.html#what_is_FLEXlm
Thank you very much!
Works now

请先登录,再进行评论。

更多回答(0 个)

类别

在 帮助中心 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by