matlab.gra​phics.inte​rnal.figfi​le.FigFile​/read>@(hO​bject,even​tdata)gui_​thermal('p​ushbutton2​_Callback'​,hObject,e​ventdata,g​uidata(hOb​ject))

조회 수: 16 (최근 30일)
How can I solve this error
Error in matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)gui_thermal('pushbutton2_Callback',hObject,eventdata,guidata(hObject))
Error while evaluating UIControl Callback
  댓글 수: 1
Walter Roberson
Walter Roberson 2022년 6월 4일
We need to see the entire error message.
The most common cause of that error is if pushbutton2_Callback is not defined.

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

답변 (1개)

Dinesh
Dinesh 2023년 12월 29일
Hi Bassel,
The error message you're encountering is because the 'pushbutton2_Callback' is not executing as expected, possibly due to an issue in the 'gui_thermal' function or the data it's trying to access.
To solve this error, open the 'gui_thermal' file in MATLAB and locate the 'pushbutton2_Callback' function. The, check for any errors or inconsistencies in the code within this callback. If the function involves loading or manipulating graphical objects, also ensure that these objects are correctly defined and available in the GUI's scope. You can set breakpoints and use MATLAB Debugger to identify where exactly the code is erroring out.

카테고리

Help CenterFile Exchange에서 Programming에 대해 자세히 알아보기

태그

제품


릴리스

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by