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 Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by