Store values from GUI to a cell array in workspace

조회 수: 6 (최근 30일)
George
George 2013년 9월 21일
I have written a GUI where I input some values (popup menus and edit boxes) and with the push of a button, store these values and reset the inputs so I can reinsert new values. This repetition does not occur for a known number of times. The only way I know that I can achieve this is by storing the values from each iteration to a variable in the workspace. I know I cannot do this using the assignin command, is there any other way?

채택된 답변

Azzi Abdelmalek
Azzi Abdelmalek 2013년 9월 21일
I am not sure to understand your question, if you want to pass data in your callback function, use guidata, or save your data in 'userdata' of any object
  댓글 수: 1
Azzi Abdelmalek
Azzi Abdelmalek 2013년 9월 24일
[george commented]
Thanks Azzi, guidata is what I will use.

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Workspace Variables and MAT Files에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by