can't run a python function from matlab

2 vues (au cours des 30 derniers jours)
Kfir Weissman
Kfir Weissman le 23 Déc 2021
Commenté : Kfir Weissman le 23 Déc 2021
hi, i try to run my file.
i already add my venv from anaconda to matlab and when i run "pyenv" in matlab its
found it.
the problem is when i run the function "hel" in the file from matlab i get this error:
"Unable to resolve the name py.order_files.hel."
what can i do about that?
  2 commentaires
Anushka Perera
Anushka Perera le 23 Déc 2021
Did you add the current folder to the Python search path? Something like this:
if count(py.sys.path,'') == 0
Kfir Weissman
Kfir Weissman le 23 Déc 2021
Which folder?

Connectez-vous pour commenter.

Réponses (0)


En savoir plus sur Call Python from MATLAB dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by