how to run python api from php
3 ビュー (過去 30 日間)
古いコメントを表示
I'm using a PHP to call a python script that uses the matlab API. The engine.start_matlab() function won't execute.
I found this and was wondering if it means that my computer is considered a remote machine. I'm doing all of this on localhost, so I wouldn't have thought that this would be a problem.
0 件のコメント
回答 (1 件)
Bo Li
2016 年 9 月 12 日
What is the error message? Which platform? Does it work outside of PHP?
If it works outside of PHP, the issue can be related to the conflict of libraries used by PHP and Python Engine.
2 件のコメント
Bo Li
2016 年 9 月 13 日
To find more details about this failure, you might need to check the log of the web server that invokes this PHP script.
参考
カテゴリ
Help Center および File Exchange で MATLAB Compiler SDK についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!