Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski 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
Joined
Nov 7, 2007
Messages
1
Location
DE
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

Back
Top