how to load my program in m file in gui so that it generates my output.

Asked by suganya on 5 Feb 2013
Latest activity Commented on by suganya on 5 Feb 2013

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

suganya

Products

No products are associated with this question.

1 Answer

Answer by Walter Roberson on 5 Feb 2013
Accepted answer
YourImage = imread(TheInputFileName);
fignum = figure();
ax1 = subplot(fignum, 121);
image(ax1, YourImage);
ManipulatedImage = your_manipulation_function( YourImage );
ax2 = subplot(fignum, 122);
image(ax2, ManipulatedImage);

1 Comment

suganya on 5 Feb 2013

thank u and in my gui where should i type this..

Walter Roberson

Contact us