I want to open a .m file on click of a button. i have created gui using GUIDE but the file is not opening on click of a button, also i'm getting a error while clicking on the button.. please help

조회 수: 3 (최근 30일)
Undefined function or variable 'welcomepage'.
Error in matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)welcomepage('pushbutton1_Callback',hObject,eventdata,guidata(hObject)) Error while evaluating UIControl Callback.
  댓글 수: 1
Geoff Hayes
Geoff Hayes 2017년 4월 3일
Ankit - please copy and paste the body of your pushbutton1_Callback. It seems that it is trying to reference something called welcomepage. Is this a variable or a function?

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Interactive Control and Callbacks에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by