MATLAB Answers

scrolling the screen togheter with the code

1 view (last 30 days)
andrea vironda
andrea vironda on 9 Mar 2016
Answered: Stalin Samuel on 9 Mar 2016
hello i wrote a long code asking me many input. i would to see the variable name the code is asking me in the upper window while the down windows is displaying the input request string. how can i do?

  0 Comments

Sign in to comment.

Answers (1)

Stalin Samuel
Stalin Samuel on 9 Mar 2016
  1. Simply add the variable name in addition to the prompt message like below
x = input('Enter the number of elements (x) ')

  0 Comments

Sign in to comment.