Specifications
Understanding the Application M-File
4-5
catch
disp(lasterr);
end
end
Any output arguments returned by your callback subfunction are then
returned though the main function via the first
feval statement:
if (nargout) % If there are output arguments
[varargout{1:nargout}] = feval(varargin{:});
In addition, any input arguments you have added to the Callback property
string are included in the evaluated statement.
See Launching a Dialog to Confirm an Operation for an example that defines
additional input arguments.
The following diagram illustrates the execution path for the application M-file.