error-creating gui

I have creating gui and have assigned two pushbuttons for readind an image and for edge detection,
in pushbutton 1 i have coded for reading an image and in pushbutton 2 coded for edge detection,
i read the image and it displays in gui,but when i click 2nd pushbutton ,i get error,undefined variable I and
Error while evaluating uicontrol Callback please help how to correct it

1 个评论

Please post the original code and a copy of the error message. "I get error, undefined variable" does not contain enough details to allow for an easy and efficient answer.

请先登录,再进行评论。

回答(1 个)

Sean de Wolski
Sean de Wolski 2012-3-15

0 个投票

2 个评论

sean i am new to gui ,can u send me the codes plz
The link Sean has posted contains the needed code already. You have asked 137 questions in this forum since September 2011 - I'm sure you have enough Matlab knowhow to copy&paste the lines of code.

请先登录,再进行评论。

标签

提问:

Pat
2012-3-15

Community Treasure Hunt

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

Start Hunting!

Translated by