GUI question

8 views (last 30 days)
goutam
goutam on 11 May 2012
hello am working on a image processing project(optical character recognition). i have written codes for performing specific conversins. i need to design a gui now for it! i need help in the following functions a) initially i need to set a path for the image. how do i do it in in the GUIDE gui?what do i need to do for it? b) i use two buttons, one for converting the text to image and another for converting the text to audio. how do i design the buttons such that, when i press that button the conversion happens and i get the output? the output is displayed on anther text editor software.

Accepted Answer

Walter Roberson
Walter Roberson on 11 May 2012
a) uigetdir() or uigetfile() or uiputfile() depending on what you mean by "set a path"
b) GUIDE will create a callback function automatically for each button. Edit the callback function code so that it does what you want.

More Answers (1)

goutam
goutam on 12 May 2012
set a path meaning, i want to give the location of the image as an input to the code.

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!