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

9 vues (au cours des 30 derniers jours)
the function is:[spktimes, {nspikes}] = SGfast([dt, nrep], rate, {deadtime, refracparams});

Réponse acceptée

cr
cr le 5 Oct 2013
just remove {} on nspikes.
  2 commentaires
Nima
Nima le 5 Oct 2013
i removed {} but i got another error: Undefined function 'SGfast' for input arguments of type 'cell'.
cr
cr le 7 Oct 2013
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.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by