can I use keyboard inputs to generate plots?

1 vue (au cours des 30 derniers jours)
Tiberius
Tiberius le 19 Avr 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)

Réponse acceptée

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

Plus de réponses (0)

Catégories

En savoir plus sur Desktop dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by