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?

Antworten (1)

Stalin Samuel
Stalin Samuel am 9 Mär. 2016

0 Stimmen

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

Diese Frage ist geschlossen.

Gefragt:

am 9 Mär. 2016

Geschlossen:

am 20 Aug. 2021

Community Treasure Hunt

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

Start Hunting!

Translated by