how to make number of array increase every push button is clicked

1 view (last 30 days)
hello.. please help me, i have a problem. how to make an array from edit text every each push button is clicked then the array will always increase with the input value from edit text.
example, if user input '1' in the edit text and click push button then it will make automatic array m=[1],after clicked push button, clear edit text and if user input again '0' and click push button again, it will increasing array and automatic make m=[1 0] and so on. please, how to make it in matlab? thanks..

Answers (0)

Categories

Find more on Matrices and Arrays in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!