Undefined function 'SGfast' for input arguments of type 'cell'

1 次查看(过去 30 天)
im trying to call a function but i got this error: Undefined function 'SGfast' for input arguments of type 'cell'.
the function is:[spktimes, nspikes] = SGfast([dt, nrep], rate, {deadtime, refracparams})

采纳的回答

Jan
Jan 2013-10-6
No, the function cannot be: [spktimes, nspikes] = SGfast([dt, nrep], rate, {deadtime, refracparams}). This is the function call. The function itself can be found anywhere else, but the error message means most likely, that there is not an M-file with this name and it is not a subfunction of the current M-file also.
You can use the debugger to find out more details. Type this in the command window:
dbstop if error
Then start your program again. When it stops type:
which SGfast
Is anything found? What did you expect instead?
  1 个评论
Nima
Nima 2013-10-7
i forgot to set this function to the path,now i did it and tried to run the code and received this error:The third argument must be a real, double-precision scalar. the calling function is:[spktimes, nspikes] = SGfast([dt, nrep], rate, {deadtime, refracparams});

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Debugging and Analysis 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by