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.???
1 view (last 30 days)
Show older comments
ayushi
on 2 May 2016
Commented: Walter Roberson
on 17 May 2016
how to use that please guide me because i am new to matlab
0 Comments
Accepted Answer
Walter Roberson
on 2 May 2016
2 Comments
Walter Roberson
on 17 May 2016
In the first part you need
handles.MyImage = MyImage;
In the second part, after
if isfield(handles,'MyImage')
you need
MyImage = handles.MyImage;
More Answers (0)
See Also
Categories
Find more on Image Processing Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!