I am getting an error in GUI.Someone please help me out

1 view (last 30 days)
I am getting an error while running GUI as follows: How to rectify this
Error in
matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)MainView('pushbutton3_Callback',hObject,eventdata,guidata(hObject))
Error while evaluating UIControl Callback
The code is attache as follows.

Accepted Answer

Cris LaPierre
Cris LaPierre on 6 Apr 2019
Edited: Cris LaPierre on 6 Apr 2019
Your pushbutton3 callback has a comment that is missing the '%' at the beginning.
...
handles.LH3=LH3;
handles.HL3=HL3;
Update handles structure <--This line looks like a comment. Needs a '%' at start
guidata(hObject, handles);
A=handles.im;
Calibration(A);

More Answers (0)

Categories

Find more on Migrate GUIDE Apps in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!