How to surpress python.exe windows from popping up every time Python is called from MATLAB?

Basically the title - I have a MATLAB script that makes a few thousand calls to a Python script, but each time I call it a python.exe window pops up for a fraction of a second and then closes. The Python script runs on multiple cores using multiprocessing so I'm not sure if that's the reason. Any ideas?

댓글 수: 1

This started happening to me out of the blue with a wrapper to call Xgboost. I've used the exact same script in the past, with the same python environment, but a few weeks ago it just started happening. It's utterly insufferable, and renders my computer largely un-usable. I guess I'll add it to the mounting list of things about Matlab that drive me crazy.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Call Python from MATLAB에 대해 자세히 알아보기

질문:

2020년 7월 13일

댓글:

2023년 8월 23일

Community Treasure Hunt

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

Start Hunting!

Translated by