scrolling the screen togheter with the code

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?

Answers (1)

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

This question is closed.

Asked:

on 9 Mar 2016

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!