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.

 Respuesta aceptada

Walter Roberson
Walter Roberson el 11 de Mayo de 2012

0 votos

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.

Más respuestas (1)

goutam
goutam el 12 de Mayo de 2012

0 votos

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

Categorías

Más información sobre Characters and Strings en Centro de ayuda y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by