Undefined function 'lratiotest' for input arguments of type 'double'

When I tried to use lratiotest. I get an error message 'Undefined function 'lratiotest' for input arguments of type 'double'.'
I've look up these kind of problem, most answers were about changing the path so that the function is actually in the path. But as lratiotest should be a bult-in function. I don't know what is wrong. And I've also tried install the matlab again with all packages and toolbox, but still has this error.
how can i slove this problem?

 Réponse acceptée

This function is part of the econometrics toolbox, make sure you have the license and have the toolbox installed
>> ver
Check if that function is on path
>> which -all lratiotest
If you have the toolbox and above command doesn't show the function, try:
>> restoredefaultpath
>> rehash toolboxcache

Plus de réponses (0)

Catégories

En savoir plus sur Troubleshooting in MATLAB Compiler SDK dans Centre d'aide et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by