GUI question

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.

 采纳的回答

Walter Roberson
Walter Roberson 2012-5-11

0 个投票

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.

更多回答(1 个)

goutam
goutam 2012-5-12

0 个投票

set a path meaning, i want to give the location of the image as an input to the code.

类别

在 帮助中心 和 File Exchange 中查找有关 Text Analytics Toolbox 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by