GUI question

조회 수: 7 (최근 30일)
goutam
goutam 2012년 5월 11일
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일
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일
set a path meaning, i want to give the location of the image as an input to the code.

태그

Community Treasure Hunt

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

Start Hunting!

Translated by