suppose there are two buttons in a GUI and from first button i browsed an image and now i want to use that image in the callback function of second button for further processing on that image with second button.???
2 次查看(过去 30 天)
显示 更早的评论
how to use that please guide me because i am new to matlab
0 个评论
采纳的回答
Walter Roberson
2016-5-2
2 个评论
Walter Roberson
2016-5-17
In the first part you need
handles.MyImage = MyImage;
In the second part, after
if isfield(handles,'MyImage')
you need
MyImage = handles.MyImage;
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!