"Undefined function or variable "o1Bound" " whereas that variable have been used in another function and it works, how can I fix this error ?
Afficher commentaires plus anciens
I got the code from here http://www.comp.hkbu.edu.hk/~vincent/resTool.htm (fingerprint verification) and I implement this in my project
% --- Executes on button press in btn_direction.
function btn_direction_Callback(hObject, eventdata, handles)
image1 = handles.image1;
guidata(hObject,handles);
axes(handles.axes2);
[o1Bound,o1Area]=direction(image1,16);
guidata(hObject,handles);
% --- Executes on button press in btn_ROI.
function btn_ROI_Callback(hObject, eventdata, handles)
image1 = handles.image1;
guidata(hObject,handles);
axes(handles.axes2);
[o2,o1Bound,o1Area]=drawROI(image1,o1Bound,o1Area);
guidata(hObject,handles);
the error is on this line > [o2,o1Bound,o1Area]=drawROI(image1,o1Bound,o1Area);
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Structures dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!