MATLAB Answers

How can I get user input on Matlab mobile?

8 views (last 30 days)
David Lanza
David Lanza on 10 Feb 2017
Commented: Walter Roberson on 13 Feb 2017
On Matlab Mobile, mathworks says the input() function does not work. I tried using menu() and inputdlg() to get user input for a script that I want to run, but they both have a similar problem:
When I run the script, both functions will wait for the user to make a selection while the screen still says "Evaluating" and the script will either time out, or give me the error "operation terminated by user during uiwait (line 81)"


Shubham Srivastava
Shubham Srivastava on 13 Feb 2017
Hi David,
I tried running a script with inputdlg() function in it, from my mobile, but didn't face such error. Can you please explain what you are trying to achieve from the script? Also are you able to run any other simple command from MATLAB Mobile?
Walter Roberson
Walter Roberson on 13 Feb 2017
I confirm that on MATLAB Mobile for me,
g = menu('hi', 'low')
times out

Sign in to comment.

Answers (0)


Community Treasure Hunt

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

Start Hunting!