I am completely new to MATLAB programming, but got a script that somehow does not account for all the end statements for function s.
For instance:
function pushbutton_open_Callback(hObject, eventdata, handles) [FileName,PathName,FilterIndex] = uigetfile('*.txt','Select the CONFIG file'); if FileName~=0 init_session(hObject, FileName, PathName); end % shouldn't there be an "end" here? function pushbutton_start_Callback(hObject, eventdata, handles) % ....
Is this site good? Apparently there are no syntax errors when I try to run it, and the program worked whenever we used it. Are functions executed automatically until the next function statement?
slhck source share