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

1 次查看(过去 30 天)
the function is:[spktimes, {nspikes}] = SGfast([dt, nrep], rate, {deadtime, refracparams});

采纳的回答

cr
cr 2013-10-5
just remove {} on nspikes.
  2 个评论
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