Can I use a 3rd party MATLAB toolbox with the Python Engine API?
2 ビュー (過去 30 日間)
古いコメントを表示
MathWorks Support Team
2022 年 11 月 14 日
回答済み: MathWorks Support Team
2022 年 11 月 15 日
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?
採用された回答
MathWorks Support Team
2022 年 11 月 14 日
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 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Call Python from MATLAB についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!