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

조회 수: 1 (최근 30일)
Nima
Nima 2013년 10월 6일
댓글: Image Analyst 2013년 10월 7일
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})
  댓글 수: 2
Mohammad Monfared
Mohammad Monfared 2013년 10월 6일
what is SGfast? a user defined function? what ever it is, it dosen't accept cell array as input argument.

댓글을 달려면 로그인하십시오.

채택된 답변

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에서 Automotive Radar에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by