can I use keyboard inputs to generate plots?

3 visualizzazioni (ultimi 30 giorni)
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)

Risposta accettata

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

Più risposte (0)

Categorie

Scopri di più su Desktop in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by