Info

此问题已关闭。 请重新打开它进行编辑或回答。

scrolling the screen togheter with the code

1 次查看(过去 30 天)
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?

回答(1 个)

Stalin Samuel
Stalin Samuel 2016-3-9
  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