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?

回答 (1 件)

Stalin Samuel
Stalin Samuel 2016 年 3 月 9 日

0 投票

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

この質問は閉じられています。

質問済み:

2016 年 3 月 9 日

閉鎖済み:

2021 年 8 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by