how to load my program in m file in gui so that it generates my output.
1 view (last 30 days)
Show older comments
i need to create a gui so that i need a click box and so an image 'll get loaded and the output of manipulating this image is also showed
0 Comments
Accepted Answer
Walter Roberson
on 5 Feb 2013
YourImage = imread(TheInputFileName);
fignum = figure();
ax1 = subplot(fignum, 121);
image(ax1, YourImage);
ManipulatedImage = your_manipulation_function( YourImage );
ax2 = subplot(fignum, 122);
image(ax2, ManipulatedImage);
More Answers (0)
See Also
Categories
Find more on Interactive Control and Callbacks 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!