Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

scrolling the screen togheter with the code

1 Ansicht (letzte 30 Tage)
andrea vironda
andrea vironda am 9 Mär. 2016
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
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
  1. Simply add the variable name in addition to the prompt message like below
x = input('Enter the number of elements (x) ')

Community Treasure Hunt

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

Start Hunting!

Translated by