Undefined function or variable 'price2ret'
Afficher commentaires plus anciens
I have installed Matlab in a new computer and try to re-run one of my m files which call price2ret. My m file works before but now the system compliants with "Undefined function or variable 'price2ret'". I have checked my path which correctly points to the toolbox directory. Appreciate if anyone can give me a hand.
Réponses (3)
Fara
le 19 Juin 2011
0 votes
Walter Roberson
le 19 Juin 2011
That can happen if the new system does not have the econ toolbox installed, or if it is not licensed for the econ toolbox, or if the econ toolbox is not on the path, or if MATLAB did not notice it exists.
There is a possibility that if you use
rehash toolbox
that it might appear, but my top suspicion would be on the system not being licensed.
Fara
le 20 Juin 2011
0 votes
1 commentaire
Walter Roberson
le 20 Juin 2011
"rehash toolbox" is a MATLAB command. http://www.mathworks.com/help/techdoc/ref/rehash.html
The message you are getting is exactly the message I would expect if you are not licensed to use the toolbox. For example, I am licensed to use the Image Processing toolbox but my co-worker the next office over is not named in the license; I can use the Image Processing commands but he just gets told they do not exist.
Catégories
En savoir plus sur Introduction to Installation and Licensing dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!