error-creating gui

조회 수: 6 (최근 30일)
Pat
Pat 2012년 3월 15일
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
Jan
Jan 2012년 3월 15일
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일
  댓글 수: 2
Pat
Pat 2012년 3월 15일
sean i am new to gui ,can u send me the codes plz
Jan
Jan 2012년 3월 15일
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.

댓글을 달려면 로그인하십시오.

태그

Community Treasure Hunt

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

Start Hunting!

Translated by