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?

Réponses (1)

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

Cette question est clôturée.

Clôturé :

le 20 Août 2021

Community Treasure Hunt

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

Start Hunting!

Translated by