MATLAB Answers

Getting user input from python script to matlab.

5 views (last 30 days)
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.

  0 Comments

Sign in to comment.

More Answers (0)

Tags

Products


Release

R2020a

Translated by