Effacer les filtres
Effacer les filtres

Undefined function or variable 'pyversion´

5 vues (au cours des 30 derniers jours)
Victor Salazar
Victor Salazar le 20 Oct 2014
Hi!
I installed python 2.7 and matlab, and then when I wrote pyversion in matlab, I get:
Undefined function or variable 'pyversion'.
How can I fix it?
I already tried:
- Install and uninstall several times Python and Matlab. - Check it if both versions of the programs are the same (64). - I put the paht than enviroment variable.
So, for now, I don't have more options.
¿Could you help me?.
Thanks!

Réponse acceptée

Robert Snoeberger
Robert Snoeberger le 20 Oct 2014
Modifié(e) : Robert Snoeberger le 20 Oct 2014
Which version of MATLAB are you using? pyversion is available only in R2014b. You can verify the version with the version function:
>> version -release
ans =
2014b
>>

Plus de réponses (1)

Victor Salazar
Victor Salazar le 21 Oct 2014
Modifié(e) : Victor Salazar le 21 Oct 2014
Hi Robert,
Thank you very much.
That was the answer, it solve the issue. I was installed 2014a. With the other versions, 2014b, pyversion works!
Have a great day.

Catégories

En savoir plus sur Introduction to Installation and Licensing dans Help Center 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