how to store textbox data in matrix??

2 visualizzazioni (ultimi 30 giorni)
ARYA NAYAK
ARYA NAYAK il 24 Dic 2016
Risposto: Walter Roberson il 26 Dic 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 Commento
Jan
Jan il 26 Dic 2016
Please post more details. What have you treid so far? Where do you want to store the variable? What exactly is you problem?

Accedi per commentare.

Risposte (1)

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

Categorie

Scopri di più su Entering Commands 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