can I use keyboard inputs to generate plots?

1 visualización (últimos 30 días)
Tiberius
Tiberius el 19 de Abr. de 2014
Respondida: Walter Roberson el 19 de Abr. de 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)

Respuesta aceptada

Walter Roberson
Walter Roberson el 19 de Abr. de 2014
p = input('What p do you want?');

Más respuestas (0)

Categorías

Más información sobre Desktop en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by