Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

function output on callback

Status
Not open for further replies.

Cora248

Bioengineer
Nov 7, 2007
1
Hi all,
I am rather new to using function handles, and I ran into a problem. Suppose I am defining a timer callback function, but it has output arguments. How can I get them from the function? I can't find it in the documentation.
The definition is for example
t=timer;
t.TimerFcn={@Callback1, arg1, arg2} % passing input args

How can I get access to the output arguments of Callback1, when the timer is running?
Thanks a lot :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor