How to store data values from uitable
조회 수: 1 (최근 30일)
이전 댓글 표시
How would I go about storing data values typed into a uitable as globals or otherwise?
댓글 수: 0
답변 (1개)
Walter Roberson
2013년 8월 16일
DataCell = get(UitableHandle, 'Data');
global_variable_1 = DataCell{5,7}; %for example
댓글 수: 8
Walter Roberson
2013년 8월 16일
You should investigate the CellEditCallback property; see http://www.mathworks.com/help/matlab/ref/uitableproperties.html#brgcv4s
You would set it to the handle of a function; the function would execute when a cell is edited. In the function you would change the global variable.
You should consider alternatives.
참고 항목
카테고리
Help Center 및 File Exchange에서 Other Formats에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!