can I use keyboard inputs to generate plots?

1 回表示 (過去 30 日間)
Tiberius
Tiberius 2014 年 4 月 19 日
回答済み: Walter Roberson 2014 年 4 月 19 日
I have a variety of plots available (more exactly, a cell with 45 matrices in it). If I put p=14 (a value <45) and then the plotting commands, it works. Now, can I input p from keyboard? (stop the program, ask for input and based on that plot the corresponding plot)

採用された回答

Walter Roberson
Walter Roberson 2014 年 4 月 19 日
p = input('What p do you want?');

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDesktop についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by