Undefined function or variable
Afficher commentaires plus anciens
Where am I going wrong with this function?
function Analysis(src,evnt)
f = figure('Visible','off','Position',[500 500 500 500]);
uicontrol('Style','pushbutton','String','Button','Position',[10,230,450,50],'Callback',{@Evaluate},'BackgroundColor','green');
axes('Units','pixels','position',[50 50 550 550]);
% Assign the GUI a name to appear in the window title.
set(f,'Name','Projectile Motion');
% Move the GUI to the center of the screen.
movegui(f,'center');
% Make the GUI visible.
set(f,'Visible','on');
function Evaluate(hObject, eventdata, handles)
Error code: ??? Undefined function or variable 'Analysis'.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Software Development Tools dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!