how to store textbox data in matrix??

조회 수: 2 (최근 30일)
ARYA NAYAK
ARYA NAYAK 2016년 12월 24일
답변: Walter Roberson 2016년 12월 26일
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
Jan
Jan 2016년 12월 26일
Please post more details. What have you treid so far? Where do you want to store the variable? What exactly is you problem?

댓글을 달려면 로그인하십시오.

답변 (1개)

Walter Roberson
Walter Roberson 2016년 12월 26일
a = str2num( get(handles.textbox1, 'String') )

카테고리

Help CenterFile Exchange에서 Entering Commands에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by