|
Daniel wrote:
> HB_TIMER = timer('ExecutionMode','fixedSpacing','BusyMode','drop','Period',4,'TasksToExecute',1,'ExecutionMode','fixedRate');
> set(HB_TIMER, 'TimerFcn', {@UpdateTuningCurveHB});
> But I keep getting the following error.
> ??? Error while evaluating TimerFcn for timer 'timer-16'
> Error using ==> UpdateTuningCurveHB
> Too many input arguments.
> There are no input arguments for the function UpdateTuningCurveHB.
Timer functions use the usual callback calling sequence -- that is, it is always passed
at least two arguments, "source" and "event".
--
.signature note: I am now avoiding replying to unclear or ambiguous postings.
Please review questions before posting them. Be specific. Use examples of what you mean,
of what you don't mean. Specify boundary conditions, and data classes and value
relationships -- what if we scrambled your data or used -Inf, NaN, or complex(rand,rand)?
|