Error while evaluating UIControl Callback..
显示 更早的评论
Error in Glaucoma_Detection>mask_Callback (line 785) get(handles.Xmin)=Xmin;
Error in gui_mainfcn (line 95) feval(varargin{:});
Error in Glaucoma_Detection (line 42) gui_mainfcn(gui_State, varargin{:});
7 个评论
khushboo chhikara
2018-4-20
Dennis
2018-4-20
You create 2 vectors x,y with the length of rows/cloumns of your image, then you try to index Rimage(x+1,y+1) (which has the size of your image) in several cases. Thats why you get the Index exceeds matrix dimension error.
The second error is more of a synthax error, try
Xmin=get(handles.Xmin); Xmax=get(handles.Xmax);
khushboo chhikara
2018-4-20
Dennis
2018-4-20
What did you do to resolve your first problem?
khushboo chhikara
2018-4-20
Jan
2018-4-20
Please post the relevant part of the code only. The nature of the forum is a discussion in public. Therefore sharing the information by private emails is rarely useful.
Walter Roberson
2018-4-21
Please do not close Questions which have an Answer
采纳的回答
更多回答(1 个)
Walter Roberson
2018-4-21
0 个投票
User posted the complete source in a different question. I cleaned it up and fixed some of the bugs and posted source at https://www.mathworks.com/matlabcentral/answers/396346-error-while-evaluationg-uicontrolm-callback#comment_559155
类别
在 帮助中心 和 File Exchange 中查找有关 Data Import and Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
