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 件のコメント

Trent Yarosevich
Trent Yarosevich 2023 年 8 月 23 日
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 件)

カテゴリ

質問済み:

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