How do i call this function from outside the function without the push of the object?

2 views (last 30 days)
function axes5_ButtonDownFcn(hObject, eventdata, handles)
global runCut;
plot(handles.axes5,runCut,'DisplayName','s');
xlabel('Hours(EST)');
ylabel('VLF Wave Strenth(Watts)');
title({'Super Sid Day Time Data',''});
v={'5','7','9','11','13','15','17','18'};
set(handles.axes5,'XTickLabel',v);

Accepted Answer

Walter Roberson
Walter Roberson on 23 Feb 2012
curfig = gcf;
set(curfig, 'SelectionType', 'normal');
handles = guidata(curfig);
axes5_ButtonDownFcn(handles.axes5, [], handles);

More Answers (0)

Categories

Find more on Interactive Control and Callbacks in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!