how to store textbox data in matrix??

2 views (last 30 days)
ARYA NAYAK
ARYA NAYAK on 24 Dec 2016
Answered: Walter Roberson on 26 Dec 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 Comment
Jan
Jan on 26 Dec 2016
Please post more details. What have you treid so far? Where do you want to store the variable? What exactly is you problem?

Sign in to comment.

Answers (1)

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

Categories

Find more on Entering Commands in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!