how to store textbox data in matrix??

2 visualizaciones (últimos 30 días)
ARYA NAYAK
ARYA NAYAK el 24 de Dic. de 2016
Respondida: Walter Roberson el 26 de Dic. de 2016
i want to enter value like 20 30 40 50 in textbox. then press push button, it will stored in matrix. like a=[20 30 40 50].
how to store like this.
help me please
  1 comentario
Jan
Jan el 26 de Dic. de 2016
Please post more details. What have you treid so far? Where do you want to store the variable? What exactly is you problem?

Iniciar sesión para comentar.

Respuestas (1)

Walter Roberson
Walter Roberson el 26 de Dic. de 2016
a = str2num( get(handles.textbox1, 'String') )

Categorías

Más información sobre Entering Commands 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