Borrar filtros
Borrar filtros

Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

How to increase/ decrease a value by using the arrow keys.

1 visualización (últimos 30 días)
Emily Smith
Emily Smith el 19 de Oct. de 2016
Cerrada: Walter Roberson el 19 de Oct. de 2016
I have a numerical variable d=20 that i would like to be able to increase/decrease by ten each time i press the arrow key. So if i press the right arrow key once d=30, and if i press it again it would be d=40, and then if i press the left arrow key once it would be 30 again.

Respuestas (0)

La pregunta está cerrada.

Community Treasure Hunt

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

Start Hunting!

Translated by