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

1 Ansicht (letzte 30 Tage)
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 Kommentar
Geoff Hayes
Geoff Hayes am 3 Apr. 2017
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?

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Interactive Control and Callbacks finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by