Getting user input from python script to matlab.

3 ビュー (過去 30 日間)
Victor Hugo Santos
Victor Hugo Santos 2020 年 5 月 23 日
回答済み: Rajani Mishra 2020 年 5 月 27 日
I have a python script that controls an SLM and shows an image until the user press a key. It works just fine when in python.
It's a simple:
input("please input enter key...")
But when I call the python script from matlab it gives me the following error:
Python Error: RuntimeError: input(): lost sys.stdin
Is it not supported? How can I work around it?
I'm running 2020a on a windows 64bit.

採用された回答

Rajani Mishra
Rajani Mishra 2020 年 5 月 27 日

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeCall Python from MATLAB についてさらに検索

タグ

製品


リリース

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by