how to save data from gui handles?
显示 更早的评论
I have a function with in a whole gui function: function Save20_Callback(hObject, eventdata, handles)
handles.ValueCareChild(end+1,1)= get(handles.SliderCareChild,'Value');
guidata(hObject,handles)
How can I save the data in handles.ValueCareChild to a .mat file or .xlsx? save() and xlswrite() would not work.
Thank you so much!!!
回答(1 个)
Azzi Abdelmalek
2013-10-15
a= get(handles.SliderCareChild,'Value');
handles.ValueCareChild(end+1,1)=a
save('filename','a')
类别
在 帮助中心 和 File Exchange 中查找有关 Environment and Settings 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!