can I use keyboard inputs to generate plots?

1 Ansicht (letzte 30 Tage)
Tiberius
Tiberius am 19 Apr. 2014
Beantwortet: Walter Roberson am 19 Apr. 2014
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)

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 19 Apr. 2014
p = input('What p do you want?');

Weitere Antworten (0)

Kategorien

Mehr zu Desktop finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by