필터 지우기
필터 지우기

how can i run a function witout facing this error: An array for multiple LHS assignment cannot contain expressions.

조회 수: 2 (최근 30일)
the function is:[spktimes, {nspikes}] = SGfast([dt, nrep], rate, {deadtime, refracparams});

채택된 답변

cr
cr 2013년 10월 5일
just remove {} on nspikes.
  댓글 수: 2
Nima
Nima 2013년 10월 5일
i removed {} but i got another error: Undefined function 'SGfast' for input arguments of type 'cell'.
cr
cr 2013년 10월 7일
That could be because of multiple issues. Firstly do you have the function file SGfast.m ? Secondly is the third input in the definition of the function a cell type? You need to check documentation on the function.

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Sources에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by