Can I use a 3rd party MATLAB toolbox with the Python Engine API?
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
MathWorks Support Team
le 14 Nov 2022
Réponse apportée : MathWorks Support Team
le 15 Nov 2022
I am using a 3rd-party MATLAB library. Everything works fine within MATLAB, but when I try to call my MATLAB scripts from Python (using the Engine API) I get an 'unrecognized function or variable' error. Is using a 3rd party toolbox supported?
Réponse acceptée
MathWorks Support Team
le 14 Nov 2022
The toolbox has to be added to the path of the MATLAB engine for Python . To do this, please use the following command after starting the engine:
eng.addpath('<path to toolbox root folder>')
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Call Python from MATLAB dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!