How do i get an array stored in a CellSelectionCallback(hObject, eventdata, handles) function in a guide gui to some other function?
1 次查看(过去 30 天)
显示 更早的评论
I have an array getting populated in a CellSelectionCallback(hObject, eventdata, handles) function in a guide GUI.I would like to use the values of the array from this function in a different callback function of a push button created in the same gui.Kindly request your support. When I press the pushbutton, I should directly get the array stored in the cellselectioncallback function so that I can perform further calculations.
Thanks in Advance.
0 个评论
采纳的回答
Image Analyst
2014-8-1
Several methods are discussed in the FAQ: http://matlab.wikia.com/wiki/FAQ#How_can_I_share_data_between_callback_functions_in_my_GUI.28s.29.3F
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Interactive Control and Callbacks 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!