Undefined function or variable 'untitled'.

조회 수: 1 (최근 30일)
AYDOGAN CAK
AYDOGAN CAK 2019년 4월 25일
답변: Jaswanth 2024년 8월 2일
Error in
matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)untitled('h5_CreateFcn',hObject,eventdata,guidata(hObject))
Undefined function or variable 'untitled'.Undefined function or variable 'untitled'.
I get such errors when i run the program.I get the same error for each edit.What should I?

답변 (1개)

Jaswanth
Jaswanth 2024년 8월 2일
Hi,
It looks like you are encountering an error in MATLAB related to an undefined function or variable named untitled. Following article by MathWorks Support Team could be helpful:
As stated in the article, MATLAB does not recognize the specified string as the name of a function on the MATLAB path or as a variable. The error can be caused by:
  • Trying to use a variable that has not been defined before this line of code executes.
  • A typographical error when typing a function or variable name.
To resolve, ensure that the function untitled is defined in your MATLAB path. You should have a file named untitled.m that contains the function definition. If the function untitled is defined within a script or another function, ensure that it is within the scope and accessible where you're trying to call it.
I hope the information provided above is helpful.

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by